#CFC55B#CFC55B
#CFC55B is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.128 H 103.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC55B |
|---|---|
| RGB | rgb(207, 197, 91) |
| HSL | hsl(55, 55%, 58%) |
| HSV | hsv(55, 56%, 81%) |
| CMYK | cmyk(0%, 4.8%, 56%, 18.8%) |
| CIE-LAB | lab(78.44, -10.02, 53.46) |
| CIE-LCH | lch(78.44, 54.39, 100.62°) |
| OKLab | oklab(81.06% -0.0308 0.1243) |
| OKLCH | oklch(81.06% 0.128 103.9) |
| XYZ | xyz(47.5882, 53.9549, 17.8031) |
| Luminance | 0.5395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 5.90
Vomit Yellow
#C7C10C
ΔE00 6.01
Puke Yellow
#C2BE0E
ΔE00 6.09
Dirty Yellow
#CDC50A
ΔE00 6.14
Greenish Beige
#C9D179
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC55B #5B65CF
analogous
#CF8B5B #CFC55B #9FCF5B
triadic
#CFC55B #5BCFC5 #C55BCF
tetradic
#CFC55B #5BCF8B #5B65CF #CF5B9F
square
#CFC55B #5BCF8B #5B65CF #CF5B9F
split-complementary
#CFC55B #5B9FCF #8B5BCF
monochromatic
#888028 #B7AC36 #CFC55B #DDD68A #EBE6BA
Accessibility & contrast
On white
1.78
#CFC55B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CFC55B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC55B
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC55B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC55B | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF50
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc55b; /* rgb */ color: rgb(207, 197, 91); /* oklch */ color: oklch(81.1% 0.128 103.9);
Tailwind
colors: {
custom: {
50: '#e0d68d',
500: '#cfc55b',
950: '#000000',
},
}SCSS
$custom: #cfc55b; $custom-light: #e0d68d; $custom-dark: #000000;
JSON
{
"hex": "#cfc55b",
"rgb": {
"r": 207,
"g": 197,
"b": 91
},
"hsl": {
"h": 54.828,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.81064,
"c": 0.12803,
"h": 103.9
},
"luminance": 0.53953
}Semantic roles & 50–950 ramp
primary
#CFC55B
secondary
#40468F
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F