#CFC850#CFC850
#CFC850 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.140 H 106.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC850 |
|---|---|
| RGB | rgb(207, 200, 80) |
| HSL | hsl(57, 57%, 56%) |
| HSV | hsv(57, 61%, 81%) |
| CMYK | cmyk(0%, 3.4%, 61.4%, 18.8%) |
| CIE-LAB | lab(79.13, -12.33, 59.11) |
| CIE-LCH | lch(79.13, 60.38, 101.78°) |
| OKLab | oklab(81.58% -0.0386 0.1349) |
| OKLCH | oklch(81.58% 0.14 106) |
| XYZ | xyz(47.8360, 55.1547, 15.7140) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.65
Dirty Yellow
#CDC50A
ΔE00 4.67
Puke Yellow
#C2BE0E
ΔE00 4.86
Ugly Yellow
#D0C101
ΔE00 5.37
Olive Yellow
#C2B709
ΔE00 5.87
Dull Yellow
#EEDC5B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC850 #5057CF
analogous
#CF8950 #CFC850 #97CF50
triadic
#CFC850 #50CFC8 #C850CF
tetradic
#CFC850 #50CF89 #5057CF #CF5097
square
#CFC850 #50CF89 #5057CF #CF5097
split-complementary
#CFC850 #5097CF #8950CF
monochromatic
#817C23 #B1AA31 #CFC850 #DCD780 #E9E6B0
Accessibility & contrast
On white
1.75
#CFC850 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#CFC850 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC850
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC850 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc850; /* rgb */ color: rgb(207, 200, 80); /* oklch */ color: oklch(81.6% 0.140 106.0);
Tailwind
colors: {
custom: {
50: '#e1d886',
500: '#cfc850',
950: '#000000',
},
}SCSS
$custom: #cfc850; $custom-light: #e1d886; $custom-dark: #000000;
JSON
{
"hex": "#cfc850",
"rgb": {
"r": 207,
"g": 200,
"b": 80
},
"hsl": {
"h": 56.693,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.81584,
"c": 0.14035,
"h": 106
},
"luminance": 0.55153
}Semantic roles & 50–950 ramp
primary
#CFC850
secondary
#3B3F89
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E