#CFC187#CFC187
#CFC187 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.078 H 96.2°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC187 |
|---|---|
| RGB | rgb(207, 193, 135) |
| HSL | hsl(48, 43%, 67%) |
| HSV | hsv(48, 35%, 81%) |
| CMYK | cmyk(0%, 6.8%, 34.8%, 18.8%) |
| CIE-LAB | lab(77.97, -3.63, 31.03) |
| CIE-LCH | lch(77.97, 31.24, 96.68°) |
| OKLab | oklab(80.88% -0.0084 0.0771) |
| OKLCH | oklch(80.88% 0.078 96.2) |
| XYZ | xyz(49.1760, 53.1560, 30.5867) |
| Luminance | 0.5315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.25
Darkkhaki
#BDB76B
ΔE00 5.51
Sand (survey)
#E2CA76
ΔE00 5.88
Very Light Brown
#D3B683
ΔE00 5.96
Sandstone
#C9AE74
ΔE00 6.14
Beige (survey)
#E6DAA6
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC187 #8795CF
analogous
#CF9D87 #CFC187 #B9CF87
triadic
#CFC187 #87CFC1 #C187CF
tetradic
#CFC187 #87CF9D #8795CF #CF87B9
square
#CFC187 #87CF9D #8795CF #CF87B9
split-complementary
#CFC187 #87B9CF #9D87CF
monochromatic
#9D8B3F #BEAA5B #CFC187 #E0D8B3 #F2EEDE
Accessibility & contrast
On white
1.81
#CFC187 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CFC187 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC187
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC187 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC187 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBE83
Deuteranopia (green-blind)
#D0C389
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc187; /* rgb */ color: rgb(207, 193, 135); /* oklch */ color: oklch(80.9% 0.078 96.2);
Tailwind
colors: {
custom: {
50: '#ded3aa',
500: '#cfc187',
950: '#000000',
},
}SCSS
$custom: #cfc187; $custom-light: #ded3aa; $custom-dark: #000000;
JSON
{
"hex": "#cfc187",
"rgb": {
"r": 207,
"g": 193,
"b": 135
},
"hsl": {
"h": 48.333,
"s": 42.857,
"l": 67.059
},
"oklch": {
"l": 0.80882,
"c": 0.07752,
"h": 96.2
},
"luminance": 0.53155
}Semantic roles & 50–950 ramp
primary
#CFC187
secondary
#5866A3
accent
#4AB630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381