#CFC55F#CFC55F
#CFC55F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.124 H 103.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC55F |
|---|---|
| RGB | rgb(207, 197, 95) |
| HSL | hsl(55, 54%, 59%) |
| HSV | hsv(55, 54%, 81%) |
| CMYK | cmyk(0%, 4.8%, 54.1%, 18.8%) |
| CIE-LAB | lab(78.48, -9.70, 51.65) |
| CIE-LCH | lch(78.48, 52.55, 100.64°) |
| OKLab | oklab(81.11% -0.0294 0.1208) |
| OKLCH | oklch(81.11% 0.124 103.7) |
| XYZ | xyz(47.7654, 54.0257, 18.7362) |
| Luminance | 0.5402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 5.52
Greenish Beige
#C9D179
ΔE00 6.01
Vomit Yellow
#C7C10C
ΔE00 6.53
Puke Yellow
#C2BE0E
ΔE00 6.58
Dirty Yellow
#CDC50A
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC55F #5F69CF
analogous
#CF8D5F #CFC55F #A1CF5F
triadic
#CFC55F #5FCFC5 #C55FCF
tetradic
#CFC55F #5FCF8D #5F69CF #CF5FA1
square
#CFC55F #5FCF8D #5F69CF #CF5FA1
split-complementary
#CFC55F #5FA1CF #8D5FCF
monochromatic
#8A8229 #B9AE38 #CFC55F #DDD68E #EBE7BD
Accessibility & contrast
On white
1.78
#CFC55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#CFC55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC55F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC55F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc55f; /* rgb */ color: rgb(207, 197, 95); /* oklch */ color: oklch(81.1% 0.124 103.7);
Tailwind
colors: {
custom: {
50: '#e0d68f',
500: '#cfc55f',
950: '#000000',
},
}SCSS
$custom: #cfc55f; $custom-light: #e0d68f; $custom-dark: #000000;
JSON
{
"hex": "#cfc55f",
"rgb": {
"r": 207,
"g": 197,
"b": 95
},
"hsl": {
"h": 54.643,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.8111,
"c": 0.12436,
"h": 103.7
},
"luminance": 0.54024
}Semantic roles & 50–950 ramp
primary
#CFC55F
secondary
#414991
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F