#CFC55C#CFC55C
#CFC55C is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.127 H 103.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC55C |
|---|---|
| RGB | rgb(207, 197, 92) |
| HSL | hsl(55, 55%, 59%) |
| HSV | hsv(55, 56%, 81%) |
| CMYK | cmyk(0%, 4.8%, 55.6%, 18.8%) |
| CIE-LAB | lab(78.45, -9.94, 53.01) |
| CIE-LCH | lch(78.45, 53.93, 100.62°) |
| OKLab | oklab(81.08% -0.0304 0.1234) |
| OKLCH | oklch(81.08% 0.127 103.9) |
| XYZ | xyz(47.6317, 53.9722, 18.0318) |
| Luminance | 0.5397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.56
Darkkhaki
#BDB76B
ΔE00 5.81
Vomit Yellow
#C7C10C
ΔE00 6.14
Puke Yellow
#C2BE0E
ΔE00 6.21
Greenish Beige
#C9D179
ΔE00 6.22
Dirty Yellow
#CDC50A
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC55C #5C66CF
analogous
#CF8B5C #CFC55C #9FCF5C
triadic
#CFC55C #5CCFC5 #C55CCF
tetradic
#CFC55C #5CCF8B #5C66CF #CF5C9F
square
#CFC55C #5CCF8B #5C66CF #CF5C9F
split-complementary
#CFC55C #5C9FCF #8B5CCF
monochromatic
#888028 #B8AC36 #CFC55C #DDD68B #EBE7BB
Accessibility & contrast
On white
1.78
#CFC55C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CFC55C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC55C
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC55C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC55C | 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)
#D4BF51
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc55c; /* rgb */ color: rgb(207, 197, 92); /* oklch */ color: oklch(81.1% 0.127 103.9);
Tailwind
colors: {
custom: {
50: '#e0d68d',
500: '#cfc55c',
950: '#000000',
},
}SCSS
$custom: #cfc55c; $custom-light: #e0d68d; $custom-dark: #000000;
JSON
{
"hex": "#cfc55c",
"rgb": {
"r": 207,
"g": 197,
"b": 92
},
"hsl": {
"h": 54.783,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.81075,
"c": 0.12713,
"h": 103.9
},
"luminance": 0.53971
}Semantic roles & 50–950 ramp
primary
#CFC55C
secondary
#40478F
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F