#CFC442#CFC442
#CFC442 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.147 H 104.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC442 |
|---|---|
| RGB | rgb(207, 196, 66) |
| HSL | hsl(55, 59%, 54%) |
| HSV | hsv(55, 68%, 81%) |
| CMYK | cmyk(0%, 5.3%, 68.1%, 18.8%) |
| CIE-LAB | lab(77.96, -11.13, 63.61) |
| CIE-LCH | lch(77.96, 64.57, 99.93°) |
| OKLab | oklab(80.62% -0.0367 0.1423) |
| OKLCH | oklch(80.62% 0.147 104.5) |
| XYZ | xyz(46.4573, 53.1404, 12.9632) |
| Luminance | 0.5314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 3.37
Dirty Yellow
#CDC50A
ΔE00 3.40
Puke Yellow
#C2BE0E
ΔE00 3.69
Ugly Yellow
#D0C101
ΔE00 3.69
Mustard Yellow
#D2BD0A
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC442 #424DCF
analogous
#CF7D42 #CFC442 #93CF42
triadic
#CFC442 #42CFC4 #C442CF
tetradic
#CFC442 #42CF7D #424DCF #CF4293
square
#CFC442 #42CF7D #424DCF #CF4293
split-complementary
#CFC442 #4293CF #7D42CF
monochromatic
#78711F #A99F2B #CFC442 #DBD373 #E8E2A4
Accessibility & contrast
On white
1.81
#CFC442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CFC442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC442
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC442 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD2F
Deuteranopia (green-blind)
#D9C34A
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc442; /* rgb */ color: rgb(207, 196, 66); /* oklch */ color: oklch(80.6% 0.147 104.5);
Tailwind
colors: {
custom: {
50: '#e1d57e',
500: '#cfc442',
950: '#000000',
},
}SCSS
$custom: #cfc442; $custom-light: #e1d57e; $custom-dark: #000000;
JSON
{
"hex": "#cfc442",
"rgb": {
"r": 207,
"g": 196,
"b": 66
},
"hsl": {
"h": 55.319,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.80616,
"c": 0.14694,
"h": 104.5
},
"luminance": 0.53139
}Semantic roles & 50–950 ramp
primary
#CFC442
secondary
#353B80
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D