#CFC587#CFC587
#CFC587 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.082 H 100.1°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC587 |
|---|---|
| RGB | rgb(207, 197, 135) |
| HSL | hsl(52, 43%, 67%) |
| HSV | hsv(52, 35%, 81%) |
| CMYK | cmyk(0%, 4.8%, 34.8%, 18.8%) |
| CIE-LAB | lab(79.01, -5.71, 32.40) |
| CIE-LCH | lch(79.01, 32.90, 100.00°) |
| OKLab | oklab(81.71% -0.0144 0.0803) |
| OKLCH | oklch(81.71% 0.082 100.1) |
| XYZ | xyz(50.0722, 54.9484, 30.8854) |
| Luminance | 0.5495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.07
Sand
#C2B280
ΔE00 5.68
Sand (survey)
#E2CA76
ΔE00 5.76
Beige (survey)
#E6DAA6
ΔE00 5.83
Greenish Beige
#C9D179
ΔE00 6.81
Greenish Tan
#BCCB7A
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC587 #8791CF
analogous
#CFA187 #CFC587 #B5CF87
triadic
#CFC587 #87CFC5 #C587CF
tetradic
#CFC587 #87CFA1 #8791CF #CF87B5
square
#CFC587 #87CFA1 #8791CF #CF87B5
split-complementary
#CFC587 #87B5CF #A187CF
monochromatic
#9D903F #BEB05B #CFC587 #E0DAB3 #F2EFDE
Accessibility & contrast
On white
1.75
#CFC587 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#CFC587 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC587
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC587 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC587 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C183
Deuteranopia (green-blind)
#D3C689
Tritanopia (blue-blind)
#D9BDB5
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc587; /* rgb */ color: rgb(207, 197, 135); /* oklch */ color: oklch(81.7% 0.082 100.1);
Tailwind
colors: {
custom: {
50: '#ded6aa',
500: '#cfc587',
950: '#000000',
},
}SCSS
$custom: #cfc587; $custom-light: #ded6aa; $custom-dark: #000000;
JSON
{
"hex": "#cfc587",
"rgb": {
"r": 207,
"g": 197,
"b": 135
},
"hsl": {
"h": 51.667,
"s": 42.857,
"l": 67.059
},
"oklch": {
"l": 0.81708,
"c": 0.08157,
"h": 100.1
},
"luminance": 0.54947
}Semantic roles & 50–950 ramp
primary
#CFC587
secondary
#5862A3
accent
#42B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381