Apple Log 2 / Apple Wide Gamut

Fig. 1: Apple Log 2 / Apple Wide Gamut — CIE 1931 xy.
Fig. 2: Apple Log 2 / Apple Wide Gamut encoding curve, L = 0.18 × 2^stops.
xy
Red0.72500.3010
Green0.22100.8140
Blue0.0680-0.0760
White (D65)0.31270.3290

Transfer function

CurveApple Log 2
Black / white point (10-bit code values)0 / 1023
Linear 0 → code0.1505
18% grey → code0.4883
Linear 1.0 → code0.6946

Encoding: convertFromLinear

P = f(R)
    γ·log2(R + β) + δ      R ≥ Rt
    c·(R − R0)²            R0 ≤ R < Rt
    0                      R < R0

R0 = -0.05641088
Rt =  0.01
c  = 47.28711236
β  =  0.00964052
γ  =  0.08550479
δ  =  0.69336945

Decoding: convertToLinear

R = f⁻¹(P)
    2^((P − δ)/γ) − β      P ≥ Pt
    √(P/c) + R0            0 ≤ P < Pt
    R0                     P < 0

Pt = c·(Rt − R0)²

RGB → XYZ matrix

RGB → XYZ
[ 0.651491480167 0.221553113294 0.077411333590 ]
[ 0.270481290387 0.816037258920 -0.086518549307 ]
[ -0.023363832392 -0.035087597128 1.147509180280 ]

Use this space Gamut compare ↗ Transfer compare ↗

Sources

  1. Apple: Apple Log 2 White Paper (Version 1.1, 2025-09; Apple Developer Downloads)