#CFC466#CFC466
#CFC466 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.117 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC466 |
|---|---|
| RGB | rgb(207, 196, 102) |
| HSL | hsl(54, 52%, 61%) |
| HSV | hsv(54, 51%, 81%) |
| CMYK | cmyk(0%, 5.3%, 50.7%, 18.8%) |
| CIE-LAB | lab(78.29, -8.61, 48.10) |
| CIE-LCH | lch(78.29, 48.87, 100.14°) |
| OKLab | oklab(80.99% -0.0255 0.1138) |
| OKLCH | oklch(80.99% 0.117 102.6) |
| XYZ | xyz(47.8717, 53.7061, 20.4124) |
| Luminance | 0.5371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.69
Darkkhaki
#BDB76B
ΔE00 4.74
Greenish Beige
#C9D179
ΔE00 5.89
Sandy
#F1DA7A
ΔE00 6.66
Dull Yellow
#EEDC5B
ΔE00 7.47
Vomit Yellow
#C7C10C
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC466 #6671CF
analogous
#CF8F66 #CFC466 #A6CF66
triadic
#CFC466 #66CFC4 #C466CF
tetradic
#CFC466 #66CF8F #6671CF #CF66A6
square
#CFC466 #66CF8F #6671CF #CF66A6
split-complementary
#CFC466 #66A6CF #8F66CF
monochromatic
#8E842D #BDAF3B #CFC466 #DED695 #ECE8C3
Accessibility & contrast
On white
1.79
#CFC466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#CFC466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC466
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC466 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc466; /* rgb */ color: rgb(207, 196, 102); /* oklch */ color: oklch(81.0% 0.117 102.6);
Tailwind
colors: {
custom: {
50: '#e0d594',
500: '#cfc466',
950: '#000000',
},
}SCSS
$custom: #cfc466; $custom-light: #e0d594; $custom-dark: #000000;
JSON
{
"hex": "#cfc466",
"rgb": {
"r": 207,
"g": 196,
"b": 102
},
"hsl": {
"h": 53.714,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.80987,
"c": 0.11664,
"h": 102.6
},
"luminance": 0.53705
}Semantic roles & 50–950 ramp
primary
#CFC466
secondary
#454D94
accent
#36C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F