#CFC55A#CFC55A
#CFC55A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.129 H 104.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC55A |
|---|---|
| RGB | rgb(207, 197, 90) |
| HSL | hsl(55, 55%, 58%) |
| HSV | hsv(55, 57%, 81%) |
| CMYK | cmyk(0%, 4.8%, 56.5%, 18.8%) |
| CIE-LAB | lab(78.43, -10.09, 53.90) |
| CIE-LCH | lch(78.43, 54.84, 100.61°) |
| OKLab | oklab(81.05% -0.0311 0.1251) |
| OKLCH | oklch(81.05% 0.129 104) |
| XYZ | xyz(47.5454, 53.9377, 17.5774) |
| Luminance | 0.5394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.72
Vomit Yellow
#C7C10C
ΔE00 5.88
Puke Yellow
#C2BE0E
ΔE00 5.97
Darkkhaki
#BDB76B
ΔE00 6.00
Dirty Yellow
#CDC50A
ΔE00 6.01
Ugly Yellow
#D0C101
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC55A #5A64CF
analogous
#CF8A5A #CFC55A #9ECF5A
triadic
#CFC55A #5ACFC5 #C55ACF
tetradic
#CFC55A #5ACF8A #5A64CF #CF5A9E
square
#CFC55A #5ACF8A #5A64CF #CF5A9E
split-complementary
#CFC55A #5A9ECF #8A5ACF
monochromatic
#877F27 #B7AC35 #CFC55A #DDD689 #EBE6B9
Accessibility & contrast
On white
1.78
#CFC55A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CFC55A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC55A
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC55A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC55A | 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)
#D4BF4F
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc55a; /* rgb */ color: rgb(207, 197, 90); /* oklch */ color: oklch(81.1% 0.129 104.0);
Tailwind
colors: {
custom: {
50: '#e0d68c',
500: '#cfc55a',
950: '#000000',
},
}SCSS
$custom: #cfc55a; $custom-light: #e0d68c; $custom-dark: #000000;
JSON
{
"hex": "#cfc55a",
"rgb": {
"r": 207,
"g": 197,
"b": 90
},
"hsl": {
"h": 54.872,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.81053,
"c": 0.12894,
"h": 104
},
"luminance": 0.53936
}Semantic roles & 50–950 ramp
primary
#CFC55A
secondary
#3F468E
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F