#CFC866#CFC866
#CFC866 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.121 H 105.1°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC866 |
|---|---|
| RGB | rgb(207, 200, 102) |
| HSL | hsl(56, 52%, 61%) |
| HSV | hsv(56, 51%, 81%) |
| CMYK | cmyk(0%, 3.4%, 50.7%, 18.8%) |
| CIE-LAB | lab(79.35, -10.65, 49.36) |
| CIE-LCH | lch(79.35, 50.50, 102.18°) |
| OKLab | oklab(81.83% -0.0314 0.1166) |
| OKLCH | oklch(81.83% 0.121 105.1) |
| XYZ | xyz(48.7860, 55.5347, 20.7172) |
| Luminance | 0.5553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.80
Darkkhaki
#BDB76B
ΔE00 5.46
Sand (survey)
#E2CA76
ΔE00 5.55
Sandy
#F1DA7A
ΔE00 6.67
Greenish Tan
#BCCB7A
ΔE00 6.82
Dull Yellow
#EEDC5B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC866 #666DCF
analogous
#CF9366 #CFC866 #A1CF66
triadic
#CFC866 #66CFC8 #C866CF
tetradic
#CFC866 #66CF93 #666DCF #CF66A1
square
#CFC866 #66CF93 #666DCF #CF66A1
split-complementary
#CFC866 #66A1CF #9366CF
monochromatic
#8E882D #BDB43B #CFC866 #DED995 #ECE9C3
Accessibility & contrast
On white
1.73
#CFC866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.11
#CFC866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC866
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC866 | 1.00 | 1.73 | 12.11 | 12.11 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C25D
Deuteranopia (green-blind)
#D9C76B
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc866; /* rgb */ color: rgb(207, 200, 102); /* oklch */ color: oklch(81.8% 0.121 105.1);
Tailwind
colors: {
custom: {
50: '#e0d894',
500: '#cfc866',
950: '#000000',
},
}SCSS
$custom: #cfc866; $custom-light: #e0d894; $custom-dark: #000000;
JSON
{
"hex": "#cfc866",
"rgb": {
"r": 207,
"g": 200,
"b": 102
},
"hsl": {
"h": 56,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.81828,
"c": 0.12071,
"h": 105.1
},
"luminance": 0.55533
}Semantic roles & 50–950 ramp
primary
#CFC866
secondary
#454A94
accent
#30C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F