LED Color Temperature Calculator

Restricted McCamyapproximate CCT from actual CIE1931xynearwhite:449n³+3525n²+6823.3n+5520.33, n=(x−.3320)/(.1858−y). Approximation only/not meaningful saturated LED blackbody identity. Actual matched units/topology and independently established parameters; not a safe device/electrical design or verified manufacturer rating.

Description

Correlated color temperature approximations require suitable chromaticity and are not a saturated LED's blackbody identity.

Correlated color temperature approximations require suitable chromaticity and are not a saturated LED's blackbody identity.1

This tool evaluates the stated McCamy polynomial from supplied CIE xy coordinates without estimating a spectrum.

When to use LED Color Temperature Calculator

Use this tool to evaluate the stated McCamy polynomial from supplied CIE xy coordinates without estimating a spectrum.

How to use LED Color Temperature Calculator and how it works

  1. Prepare actualChromaticityX, actualChromaticityY, with the units, conventions and assumptions below.
  2. Enter the required fields and run LED Color Temperature Calculator.
  3. Read result.value using the output definitions below.
  4. Correct any rejected inputs and rerun; interpret the result within the stated model and its assumptions.
Input fieldMeaningValue typeRequirement
actualChromaticityXPositive dimensionless chromaticity x, with x+y<1.numberRequired; fraction from 0 to 1; finite; other constraints below
actualChromaticityYPositive dimensionless chromaticity y, with x+y<1 and separation from 0.1858 as specified below.numberRequired; fraction from 0 to 1; finite; other constraints below

Supply positive chromaticity fractions x and y with x+y<1, and require abs(y-0.1858)>=1e-8. Form n=(x-0.3320)/(0.1858-y) and return 449*n^3+3525*n^2+6823.3*n+5520.33 in kelvin using the implemented near-white approximation. The tool does not check proximity to the Planckian locus or enforce a positive Kelvin output; accepted off-locus inputs need not yield a meaningful CCT.

n=(x-0.3320)/(0.1858-y); CCTkelvin=449*n^3+3525*n^2+6823.3*n+5520.33

Apply the input ordering, units and branch conditions stated above.

Output fieldMeaningValue type
resultObject containing the calculated or selected fields below.object
result.valueNear-white correlated color-temperature approximation in kelvin, without an applicability certificate.number
json
{
  "input": {
    "actualChromaticityX": 0.332,
    "actualChromaticityY": 0.34
  },
  "output": {
    "result": {
      "value": 5520.33
    }
  }
}

Limitations and assumptions

The calculation uses the supplied observations and model inputs. It does not collect measurements, select a reference population or coefficient, or establish that the model applies to the actual case. The stated branch conditions and output units remain part of the result.

All fields require explicit values. Unexpected fields, wrong types, nonfinite numbers and sparse arrays are rejected. Alignment, bounds and supported-token rules are explained above; extremely large inputs or nonfinite results can also fail. Input errors differ from successful false comparisons, unavailable-domain flags and empty match lists.

Alternative or Complementary methods

Use White Balance Gain Calculator for a complementary operation: Neutral-patch white-balance gains operate on linear channel values under a consistent exposure and black-level convention.

Use CRI Calculation for a complementary operation: General CRI Ra averages the first eight test-color indices after independently completed color adaptation.

References

  1. LED Color Temperature Calculator — tool.io

Similar or alternative tools

  • White Balance Gain Calculator

    Neutral-patch white-balance gains operate on linear channel values under a consistent exposure and black-level convention.

  • CRI Calculation

    General CRI Ra averages the first eight test-color indices after independently completed color adaptation.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies