#CFC459#CFC459
#CFC459 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.129 H 103.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC459 |
|---|---|
| RGB | rgb(207, 196, 89) |
| HSL | hsl(54, 55%, 58%) |
| HSV | hsv(54, 57%, 81%) |
| CMYK | cmyk(0%, 5.3%, 57%, 18.8%) |
| CIE-LAB | lab(78.15, -9.66, 54.05) |
| CIE-LCH | lch(78.15, 54.90, 100.13°) |
| OKLab | oklab(80.83% -0.03 0.1253) |
| OKLCH | oklch(80.83% 0.129 103.5) |
| XYZ | xyz(47.2768, 53.4682, 17.2793) |
| Luminance | 0.5347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.61
Vomit Yellow
#C7C10C
ΔE00 5.84
Puke Yellow
#C2BE0E
ΔE00 5.92
Darkkhaki
#BDB76B
ΔE00 5.95
Dirty Yellow
#CDC50A
ΔE00 5.98
Ugly Yellow
#D0C101
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC459 #5964CF
analogous
#CF8959 #CFC459 #9FCF59
triadic
#CFC459 #59CFC4 #C459CF
tetradic
#CFC459 #59CF89 #5964CF #CF599F
square
#CFC459 #59CF89 #5964CF #CF599F
split-complementary
#CFC459 #599FCF #8959CF
monochromatic
#877E27 #B6AA35 #CFC459 #DDD588 #EAE6B8
Accessibility & contrast
On white
1.80
#CFC459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CFC459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC459
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC459 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc459; /* rgb */ color: rgb(207, 196, 89); /* oklch */ color: oklch(80.8% 0.129 103.5);
Tailwind
colors: {
custom: {
50: '#e0d58b',
500: '#cfc459',
950: '#000000',
},
}SCSS
$custom: #cfc459; $custom-light: #e0d58b; $custom-dark: #000000;
JSON
{
"hex": "#cfc459",
"rgb": {
"r": 207,
"g": 196,
"b": 89
},
"hsl": {
"h": 54.407,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.80831,
"c": 0.12886,
"h": 103.5
},
"luminance": 0.53467
}Semantic roles & 50–950 ramp
primary
#CFC459
secondary
#3F468E
accent
#57DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F