#CFC259#CFC259
#CFC259 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.127 H 102.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC259 |
|---|---|
| RGB | rgb(207, 194, 89) |
| HSL | hsl(53, 55%, 58%) |
| HSV | hsv(53, 57%, 81%) |
| CMYK | cmyk(0%, 6.3%, 57%, 18.8%) |
| CIE-LAB | lab(77.62, -8.63, 53.45) |
| CIE-LCH | lch(77.62, 54.14, 99.18°) |
| OKLab | oklab(80.41% -0.027 0.124) |
| OKLCH | oklch(80.41% 0.127 102.3) |
| XYZ | xyz(46.8287, 52.5720, 17.1299) |
| Luminance | 0.5257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.30
Darkkhaki
#BDB76B
ΔE00 5.71
Vomit Yellow
#C7C10C
ΔE00 6.07
Puke Yellow
#C2BE0E
ΔE00 6.13
Olive Yellow
#C2B709
ΔE00 6.20
Ugly Yellow
#D0C101
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC259 #5966CF
analogous
#CF8759 #CFC259 #A1CF59
triadic
#CFC259 #59CFC2 #C259CF
tetradic
#CFC259 #59CF87 #5966CF #CF59A1
square
#CFC259 #59CF87 #5966CF #CF59A1
split-complementary
#CFC259 #59A1CF #8759CF
monochromatic
#877C27 #B6A835 #CFC259 #DDD388 #EAE5B8
Accessibility & contrast
On white
1.82
#CFC259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#CFC259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC259
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC259 | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC4E
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc259; /* rgb */ color: rgb(207, 194, 89); /* oklch */ color: oklch(80.4% 0.127 102.3);
Tailwind
colors: {
custom: {
50: '#e0d48b',
500: '#cfc259',
950: '#000000',
},
}SCSS
$custom: #cfc259; $custom-light: #e0d48b; $custom-dark: #000000;
JSON
{
"hex": "#cfc259",
"rgb": {
"r": 207,
"g": 194,
"b": 89
},
"hsl": {
"h": 53.39,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.80411,
"c": 0.12696,
"h": 102.3
},
"luminance": 0.5257
}Semantic roles & 50–950 ramp
primary
#CFC259
secondary
#3F478E
accent
#5ADE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F