#CFC489#CFC489
#CFC489 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.078 H 98.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC489 |
|---|---|
| RGB | rgb(207, 196, 137) |
| HSL | hsl(51, 42%, 67%) |
| HSV | hsv(51, 34%, 81%) |
| CMYK | cmyk(0%, 5.3%, 33.8%, 18.8%) |
| CIE-LAB | lab(78.78, -4.95, 31.06) |
| CIE-LCH | lch(78.78, 31.45, 99.06°) |
| OKLab | oklab(81.54% -0.0121 0.0772) |
| OKLCH | oklch(81.54% 0.078 98.9) |
| XYZ | xyz(49.9880, 54.5527, 31.5585) |
| Luminance | 0.5455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.15
Darkkhaki
#BDB76B
ΔE00 5.40
Beige (survey)
#E6DAA6
ΔE00 5.72
Sand (survey)
#E2CA76
ΔE00 6.01
Very Light Brown
#D3B683
ΔE00 7.11
Sandstone
#C9AE74
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC489 #8994CF
analogous
#CFA189 #CFC489 #B7CF89
triadic
#CFC489 #89CFC4 #C489CF
tetradic
#CFC489 #89CFA1 #8994CF #CF89B7
square
#CFC489 #89CFA1 #8994CF #CF89B7
split-complementary
#CFC489 #89B7CF #A189CF
monochromatic
#9E8F40 #BDAE5D #CFC489 #E1DAB5 #F2F0E0
Accessibility & contrast
On white
1.76
#CFC489 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#CFC489 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC489
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC489 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC489 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC185
Deuteranopia (green-blind)
#D2C58B
Tritanopia (blue-blind)
#D9BCB5
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc489; /* rgb */ color: rgb(207, 196, 137); /* oklch */ color: oklch(81.5% 0.078 98.9);
Tailwind
colors: {
custom: {
50: '#ded5ac',
500: '#cfc489',
950: '#000000',
},
}SCSS
$custom: #cfc489; $custom-light: #ded5ac; $custom-dark: #000000;
JSON
{
"hex": "#cfc489",
"rgb": {
"r": 207,
"g": 196,
"b": 137
},
"hsl": {
"h": 50.571,
"s": 42.169,
"l": 67.451
},
"oklch": {
"l": 0.81538,
"c": 0.07815,
"h": 98.9
},
"luminance": 0.54551
}Semantic roles & 50–950 ramp
primary
#CFC489
secondary
#5965A3
accent
#45B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381