#CFC462#CFC462
#CFC462 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.121 H 102.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC462 |
|---|---|
| RGB | rgb(207, 196, 98) |
| HSL | hsl(54, 53%, 60%) |
| HSV | hsv(54, 53%, 81%) |
| CMYK | cmyk(0%, 5.3%, 52.7%, 18.8%) |
| CIE-LAB | lab(78.24, -8.95, 49.96) |
| CIE-LCH | lch(78.24, 50.76, 100.15°) |
| OKLab | oklab(80.94% -0.0269 0.1175) |
| OKLCH | oklch(80.94% 0.121 102.9) |
| XYZ | xyz(47.6781, 53.6287, 19.3928) |
| Luminance | 0.5363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.94
Darkkhaki
#BDB76B
ΔE00 5.09
Greenish Beige
#C9D179
ΔE00 6.08
Sandy
#F1DA7A
ΔE00 6.70
Vomit Yellow
#C7C10C
ΔE00 7.02
Puke Yellow
#C2BE0E
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC462 #626DCF
analogous
#CF8E62 #CFC462 #A4CF62
triadic
#CFC462 #62CFC4 #C462CF
tetradic
#CFC462 #62CF8E #626DCF #CF62A4
square
#CFC462 #62CF8E #626DCF #CF62A4
split-complementary
#CFC462 #62A4CF #8E62CF
monochromatic
#8C822B #BBAE39 #CFC462 #DDD691 #ECE7C0
Accessibility & contrast
On white
1.79
#CFC462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CFC462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC462
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC462 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D7C467
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc462; /* rgb */ color: rgb(207, 196, 98); /* oklch */ color: oklch(80.9% 0.121 102.9);
Tailwind
colors: {
custom: {
50: '#e0d591',
500: '#cfc462',
950: '#000000',
},
}SCSS
$custom: #cfc462; $custom-light: #e0d591; $custom-dark: #000000;
JSON
{
"hex": "#cfc462",
"rgb": {
"r": 207,
"g": 196,
"b": 98
},
"hsl": {
"h": 53.945,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.80936,
"c": 0.12054,
"h": 102.9
},
"luminance": 0.53627
}Semantic roles & 50–950 ramp
primary
#CFC462
secondary
#434B92
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F