#CFC159#CFC159
#CFC159 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.126 H 101.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC159 |
|---|---|
| RGB | rgb(207, 193, 89) |
| HSL | hsl(53, 55%, 58%) |
| HSV | hsv(53, 57%, 81%) |
| CMYK | cmyk(0%, 6.8%, 57%, 18.8%) |
| CIE-LAB | lab(77.36, -8.12, 53.15) |
| CIE-LCH | lch(77.36, 53.77, 98.69°) |
| OKLab | oklab(80.2% -0.0256 0.1234) |
| OKLCH | oklch(80.2% 0.126 101.7) |
| XYZ | xyz(46.6069, 52.1283, 17.0560) |
| Luminance | 0.5213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.62
Olive Yellow
#C2B709
ΔE00 6.21
Vomit Yellow
#C7C10C
ΔE00 6.22
Mustard Yellow
#D2BD0A
ΔE00 6.22
Puke Yellow
#C2BE0E
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC159 #5967CF
analogous
#CF8659 #CFC159 #A2CF59
triadic
#CFC159 #59CFC1 #C159CF
tetradic
#CFC159 #59CF86 #5967CF #CF59A2
square
#CFC159 #59CF86 #5967CF #CF59A2
split-complementary
#CFC159 #59A2CF #8659CF
monochromatic
#877B27 #B6A735 #CFC159 #DDD388 #EAE4B8
Accessibility & contrast
On white
1.84
#CFC159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CFC159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC159
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC159 | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc159; /* rgb */ color: rgb(207, 193, 89); /* oklch */ color: oklch(80.2% 0.126 101.7);
Tailwind
colors: {
custom: {
50: '#e0d38b',
500: '#cfc159',
950: '#000000',
},
}SCSS
$custom: #cfc159; $custom-light: #e0d38b; $custom-dark: #000000;
JSON
{
"hex": "#cfc159",
"rgb": {
"r": 207,
"g": 193,
"b": 89
},
"hsl": {
"h": 52.881,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.80202,
"c": 0.12601,
"h": 101.7
},
"luminance": 0.52127
}Semantic roles & 50–950 ramp
primary
#CFC159
secondary
#3F488E
accent
#5BDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F