#CFC488#CFC488
#CFC488 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.079 H 99.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC488 |
|---|---|
| RGB | rgb(207, 196, 136) |
| HSL | hsl(51, 43%, 67%) |
| HSV | hsv(51, 34%, 81%) |
| CMYK | cmyk(0%, 5.3%, 34.3%, 18.8%) |
| CIE-LAB | lab(78.77, -5.07, 31.56) |
| CIE-LCH | lch(78.77, 31.97, 99.13°) |
| OKLab | oklab(81.52% -0.0125 0.0784) |
| OKLCH | oklch(81.52% 0.079 99) |
| XYZ | xyz(49.9166, 54.5241, 31.1825) |
| Luminance | 0.5452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.23
Darkkhaki
#BDB76B
ΔE00 5.26
Beige (survey)
#E6DAA6
ΔE00 5.80
Sand (survey)
#E2CA76
ΔE00 5.87
Very Light Brown
#D3B683
ΔE00 7.18
Sandstone
#C9AE74
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC488 #8893CF
analogous
#CFA188 #CFC488 #B7CF88
triadic
#CFC488 #88CFC4 #C488CF
tetradic
#CFC488 #88CFA1 #8893CF #CF88B7
square
#CFC488 #88CFA1 #8893CF #CF88B7
split-complementary
#CFC488 #88B7CF #A188CF
monochromatic
#9D8F3F #BDAE5C #CFC488 #E1DAB4 #F2EFDF
Accessibility & contrast
On white
1.76
#CFC488 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#CFC488 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC488
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC488 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC488 | 1.00 | 1.76 | 11.90 | 11.90 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC084
Deuteranopia (green-blind)
#D3C58A
Tritanopia (blue-blind)
#D9BCB5
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc488; /* rgb */ color: rgb(207, 196, 136); /* oklch */ color: oklch(81.5% 0.079 99.0);
Tailwind
colors: {
custom: {
50: '#ded5ab',
500: '#cfc488',
950: '#000000',
},
}SCSS
$custom: #cfc488; $custom-light: #ded5ab; $custom-dark: #000000;
JSON
{
"hex": "#cfc488",
"rgb": {
"r": 207,
"g": 196,
"b": 136
},
"hsl": {
"h": 50.704,
"s": 42.515,
"l": 67.255
},
"oklch": {
"l": 0.81519,
"c": 0.07934,
"h": 99
},
"luminance": 0.54523
}Semantic roles & 50–950 ramp
primary
#CFC488
secondary
#5864A3
accent
#45B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381