#CFC460#CFC460
#CFC460 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.122 H 103.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC460 |
|---|---|
| RGB | rgb(207, 196, 96) |
| HSL | hsl(54, 54%, 59%) |
| HSV | hsv(54, 54%, 81%) |
| CMYK | cmyk(0%, 5.3%, 53.6%, 18.8%) |
| CIE-LAB | lab(78.22, -9.11, 50.88) |
| CIE-LCH | lch(78.22, 51.69, 100.15°) |
| OKLab | oklab(80.91% -0.0276 0.1193) |
| OKLCH | oklch(80.91% 0.122 103) |
| XYZ | xyz(47.5848, 53.5914, 18.9017) |
| Luminance | 0.5359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.08
Darkkhaki
#BDB76B
ΔE00 5.28
Greenish Beige
#C9D179
ΔE00 6.20
Sandy
#F1DA7A
ΔE00 6.74
Vomit Yellow
#C7C10C
ΔE00 6.75
Puke Yellow
#C2BE0E
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC460 #606BCF
analogous
#CF8D60 #CFC460 #A3CF60
triadic
#CFC460 #60CFC4 #C460CF
tetradic
#CFC460 #60CF8D #606BCF #CF60A3
square
#CFC460 #60CF8D #606BCF #CF60A3
split-complementary
#CFC460 #60A3CF #8D60CF
monochromatic
#8B812A #BAAD38 #CFC460 #DDD58F #EBE7BE
Accessibility & contrast
On white
1.79
#CFC460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CFC460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC460
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC460 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc460; /* rgb */ color: rgb(207, 196, 96); /* oklch */ color: oklch(80.9% 0.122 103.0);
Tailwind
colors: {
custom: {
50: '#e0d590',
500: '#cfc460',
950: '#000000',
},
}SCSS
$custom: #cfc460; $custom-light: #e0d590; $custom-dark: #000000;
JSON
{
"hex": "#cfc460",
"rgb": {
"r": 207,
"g": 196,
"b": 96
},
"hsl": {
"h": 54.054,
"s": 53.623,
"l": 59.412
},
"oklch": {
"l": 0.80912,
"c": 0.12244,
"h": 103
},
"luminance": 0.5359
}Semantic roles & 50–950 ramp
primary
#CFC460
secondary
#424A91
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F