What does Studio Falloff and Mixed Colour conclude, in numbers, about “Colour Temperature Is Not a Thermometer Reading: the Planckian Locus, a Test of McCamy's Cubic and Mired Steps”?
Answer: Now the main table. The second and third columns are blackbody chromaticities computed with the analytic fit. The fit is not identical to the standard tables, so at 2856 K x comes out as 0.4462 against the standard 0.44757, and McCamy's recovered temperature carries the fitting error: at 2856 K it returns 2888.5 K, 32.5 K high; at 3200 K, 3235.4 K; at 5600 K, 5612.2 K, 12.2 K high; at 6504 K, 6510.0 K. The last column converts these errors to mired: only -3.42 mired at 3200 K and -0.39 mired at 5600 K. The next section shows that, measured in mired, such errors are negligible for photography.
Scope of the numbers: Parameters are illustrative; all calculations are generated by the book's programs; the book is general business analysis, not individualised business advice. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: -0.39, -3.42, 0.4462, 0.44757, 12.2, 2856
| blackbody chromaticity (fitted CIE 1931) and McCamy CCT | |||||
| T(K) | x | y | McCamy | error(K) | error(mired) |
| 1700 | 0.5575 | 0.4079 | 1756.3 | +56.3 | -18.85 |
| 2000 | 0.5241 | 0.4159 | 2019.6 | +19.6 | -4.85 |
| 2856 | 0.4462 | 0.4087 | 2888.5 | +32.5 | -3.94 |
| 3200 | 0.4223 | 0.3999 | 3235.4 | +35.4 | -3.42 |
| 4000 | 0.3798 | 0.3774 | 4029.7 | +29.7 | -1.84 |
| 5000 | 0.3448 | 0.3520 | 5017.4 | +17.4 | -0.69 |
| 5600 | 0.3299 | 0.3394 | 5612.2 | +12.2 | -0.39 |
| 6504 | 0.3133 | 0.3238 | 6510.0 | +6.0 | -0.14 |
| 8000 | 0.2951 | 0.3049 | 7982.6 | -17.4 | +0.27 |
| 10000 | 0.2807 | 0.2884 | 9874.2 | -125.8 | +1.27 |
| 15000 | 0.2638 | 0.2674 | 13955.8 | -1044.2 | +4.99 |
| tabulated CIE points fed straight into McCamy: | |||||
| illuminant A (0.44757, 0.40745): 2857.3 K (2856 K) | |||||
| D65 (0.31271, 0.32902): 6504.4 K (about 6504 K) |
Show the full program
# Chapter 5. p51: blackbody chromaticity and McCamy's cubic.
# Planck spectrum M(l, T) ~ l^-5 / (exp(c2 / (l T)) - 1), c2 = 1.4388e-2
# m K, sampled 360 to 830 nm every 1 nm and weighted with the
# multi-lobe Gaussian fit of the CIE 1931 colour-matching functions by
# Wyman, Sloan and Shirley (2013, Table 1); sums by math.fsum. McCamy
# (1992): n = (x - 0.3320) / (y - 0.1858),
# CCT = -449 n^3 + 3525 n^2 - 6823.3 n + 5520.33.
import math
LOBES = {"x": ((0.362, 442.0, 0.0624, 0.0374),
(1.056, 599.8, 0.0264, 0.0323),
(-0.065, 501.1, 0.0490, 0.0382)),
"y": ((0.821, 568.8, 0.0213, 0.0247),
(0.286, 530.9, 0.0613, 0.0322)),
"z": ((1.217, 437.0, 0.0845, 0.0278),
(0.681, 459.0, 0.0385, 0.0725))}
C2 = 1.4388e-2
WL = [360.0 + i for i in range(471)]
def cmf(key, lam):
out = []
for a, b, g, d in LOBES[key]:
t = (lam - b) * (g if lam < b else d)
out.append(a * math.exp(-0.5 * t * t))
return math.fsum(out)
BAR = {k: [cmf(k, w) for w in WL] for k in ("x", "y", "z")}
def planck_xyz(temp):
sp = [(w * 1e-9) ** -5 / math.expm1(C2 / (w * 1e-9 * temp)) for w in WL]
xyz = [math.fsum(s * b for s, b in zip(sp, BAR[k])) for k in "xyz"]
return [v / xyz[1] for v in xyz]
def chroma(xyz):
t = math.fsum(xyz)
return xyz[0] / t, xyz[1] / t
def mccamy(x, y):
n = (x - 0.3320) / (y - 0.1858)
return -449 * n ** 3 + 3525 * n ** 2 - 6823.3 * n + 5520.33
if __name__ == "__main__":
print("blackbody chromaticity (fitted CIE 1931) and McCamy CCT")
print(" T(K) x y McCamy error(K) error(mired)")
for temp in (1700, 2000, 2856, 3200, 4000, 5000, 5600, 6504,
8000, 10000, 15000):
x, y = chroma(planck_xyz(temp))
c = mccamy(x, y)
print(" {:6d} {:.4f} {:.4f} {:7.1f} {:+7.1f} {:+7.2f}"
.format(temp, x, y, c, c - temp, 1e6 / c - 1e6 / temp))
print("tabulated CIE points fed straight into McCamy:")
print(" illuminant A (0.44757, 0.40745): {:.1f} K (2856 K)".format(
mccamy(0.44757, 0.40745)))
print(" D65 (0.31271, 0.32902): {:.1f} K (about 6504 K)".format(
mccamy(0.31271, 0.32902)))Single source and citation
Fan, Y. (2026). Inverse-Square Lighting and Area-Source Falloff in the Studio: Mixed Colour Temperatures and the Algebra of Lighting Ratios (Version 1.0.0), Chapter 5: Colour Temperature Is Not a Thermometer Reading: the Planckian Locus, a Test of McCamy's Cubic and Mired Steps. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-325 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026325,
author = {Fan, Yafu},
title = {Inverse-Square Lighting and Area-Source Falloff in the Studio: Mixed Colour Temperatures and the Algebra of Lighting Ratios},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Inverse Square Belongs to Point Sources: the Real Falloff of a 120 cm Softbox at Every Distance
- Chapter 2 · A Disc Built from Rings: the Illuminance Integral of an Area Source, Evenness on the Subject Plane and the Local Falloff Exponent
- Chapter 3 · Rectangular Boxes and Strip Lights: Configuration Factors of a Rectangle, and Why a Thin Source Falls Off Like a Line
- Chapter 4 · The Algebra of Lighting Ratios: Key, Fill, Stops and Background, Repositioned by the Area-Source Law
- Chapter 6 · Two Colour Temperatures on One Face: the Chromaticity of Mixed Light, a Quantified White-Balance Error and the Price of a Correction Gel
- Chapter 7 · Eastern and Western Classics Examined: the Mohist "Inverted Image Through a Point" and Lambert's Photometria
- Chapter 8 · Closing the Loop: StudioTaiwan Lighting Cards, the Lighting Ratio Calculator and a Pre-Registered Test