#CFC950#CFC950
#CFC950 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.141 H 106.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC950 |
|---|---|
| RGB | rgb(207, 201, 80) |
| HSL | hsl(57, 57%, 56%) |
| HSV | hsv(57, 61%, 81%) |
| CMYK | cmyk(0%, 2.9%, 61.4%, 18.8%) |
| CIE-LAB | lab(79.40, -12.83, 59.40) |
| CIE-LCH | lch(79.40, 60.77, 102.19°) |
| OKLab | oklab(81.8% -0.04 0.1356) |
| OKLCH | oklch(81.8% 0.141 106.4) |
| XYZ | xyz(48.0684, 55.6194, 15.7914) |
| Luminance | 0.5562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.68
Vomit Yellow
#C7C10C
ΔE00 4.69
Puke Yellow
#C2BE0E
ΔE00 4.91
Ugly Yellow
#D0C101
ΔE00 5.48
Dull Yellow
#EEDC5B
ΔE00 5.91
Piss Yellow
#DDD618
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC950 #5056CF
analogous
#CF8A50 #CFC950 #96CF50
triadic
#CFC950 #50CFC9 #C950CF
tetradic
#CFC950 #50CF8A #5056CF #CF5096
square
#CFC950 #50CF8A #5056CF #CF5096
split-complementary
#CFC950 #5096CF #8A50CF
monochromatic
#817D23 #B1AB31 #CFC950 #DCD880 #E9E7B0
Accessibility & contrast
On white
1.73
#CFC950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#CFC950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC950
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC950 | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#DDBDAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc950; /* rgb */ color: rgb(207, 201, 80); /* oklch */ color: oklch(81.8% 0.141 106.4);
Tailwind
colors: {
custom: {
50: '#e1d986',
500: '#cfc950',
950: '#000000',
},
}SCSS
$custom: #cfc950; $custom-light: #e1d986; $custom-dark: #000000;
JSON
{
"hex": "#cfc950",
"rgb": {
"r": 207,
"g": 201,
"b": 80
},
"hsl": {
"h": 57.165,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.81796,
"c": 0.14133,
"h": 106.4
},
"luminance": 0.55618
}Semantic roles & 50–950 ramp
primary
#CFC950
secondary
#3B3E89
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E