YIQ Luma Value Calculator

Compute normalized YIQ gamma-domain luma, not linear-light luminance or accessibility contrast; caller RGB is encoded sRGB interpreted under this explicit legacy weight heuristic.

Description

YIQ luma combines encoded color channels with legacy weights.

YIQ luma combines encoded color channels with legacy weights. It differs from linear-light relative luminance.1

Enter exactly three encoded normalized sRGB channels 0–1. Return normalized gamma-domain luma.

When to use YIQ Luma Value Calculator

Use YIQ Luma Value Calculator when you need to evaluate the supplied records under the calculation and evidence rules below. No accessibility contrast or calibrated luminance is calculated.

Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.

How to use YIQ Luma Value Calculator and understand its results

  1. Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.
  2. Enter rgbChannels using the field table and calculation rules, then run the tool.
  3. Read yiqGammaLuma. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
rgbChannelsRgb channelslist of numberRequired

Enter exactly three encoded normalized sRGB channels 0–1. Return normalized gamma-domain luma.

Y=0.299R+0.587G+0.114B

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
yiqGammaLumaYiq gamma lumanumber
json
{
  "input": {
    "rgbChannels": [
      1,
      0,
      0
    ]
  },
  "output": {
    "yiqGammaLuma": 0.299
  }
}

Limitations and assumptions

No accessibility contrast or calibrated luminance is calculated.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Perceived Brightness HSP Calculator: HSP brightness is a weighted root of squared encoded channels. It is a perception heuristic distinct from relative luminance. For a complementary task, use Auto Black/White Text Picker: Opaque background relative luminance determines black and white text contrast. The larger ratio is an objective choice within these two candidates.

References

  1. YIQ Luma Value Calculator — tool.io

Similar or alternative tools

  • Perceived Brightness HSP Calculator

    HSP brightness is a weighted root of squared encoded channels. It is a perception heuristic distinct from relative luminance.

  • Auto Black/White Text Picker

    Opaque background relative luminance determines black and white text contrast. The larger ratio is an objective choice within these two candidates.

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