#CFC45A#CFC45A
#CFC45A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.128 H 103.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC45A |
|---|---|
| RGB | rgb(207, 196, 90) |
| HSL | hsl(54, 55%, 58%) |
| HSV | hsv(54, 57%, 81%) |
| CMYK | cmyk(0%, 5.3%, 56.5%, 18.8%) |
| CIE-LAB | lab(78.16, -9.58, 53.60) |
| CIE-LCH | lch(78.16, 54.45, 100.14°) |
| OKLab | oklab(80.84% -0.0296 0.1245) |
| OKLCH | oklch(80.84% 0.128 103.4) |
| XYZ | xyz(47.3191, 53.4851, 17.5020) |
| Luminance | 0.5348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.53
Darkkhaki
#BDB76B
ΔE00 5.85
Vomit Yellow
#C7C10C
ΔE00 5.97
Puke Yellow
#C2BE0E
ΔE00 6.04
Dirty Yellow
#CDC50A
ΔE00 6.11
Ugly Yellow
#D0C101
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC45A #5A65CF
analogous
#CF895A #CFC45A #9FCF5A
triadic
#CFC45A #5ACFC4 #C45ACF
tetradic
#CFC45A #5ACF89 #5A65CF #CF5A9F
square
#CFC45A #5ACF89 #5A65CF #CF5A9F
split-complementary
#CFC45A #5A9FCF #895ACF
monochromatic
#877E27 #B7AA35 #CFC45A #DDD589 #EBE6B9
Accessibility & contrast
On white
1.80
#CFC45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CFC45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC45A
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC45A | 1.00 | 1.80 | 11.70 | 11.70 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4F
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc45a; /* rgb */ color: rgb(207, 196, 90); /* oklch */ color: oklch(80.8% 0.128 103.4);
Tailwind
colors: {
custom: {
50: '#e0d58c',
500: '#cfc45a',
950: '#000000',
},
}SCSS
$custom: #cfc45a; $custom-light: #e0d58c; $custom-dark: #000000;
JSON
{
"hex": "#cfc45a",
"rgb": {
"r": 207,
"g": 196,
"b": 90
},
"hsl": {
"h": 54.359,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.80842,
"c": 0.12796,
"h": 103.4
},
"luminance": 0.53483
}Semantic roles & 50–950 ramp
primary
#CFC45A
secondary
#3F478E
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F