#CFC949#CFC949
#CFC949 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.147 H 106.6°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC949 |
|---|---|
| RGB | rgb(207, 201, 73) |
| HSL | hsl(57, 58%, 55%) |
| HSV | hsv(57, 65%, 81%) |
| CMYK | cmyk(0%, 2.9%, 64.7%, 18.8%) |
| CIE-LAB | lab(79.34, -13.27, 62.25) |
| CIE-LCH | lch(79.34, 63.65, 102.03°) |
| OKLab | oklab(81.73% -0.042 0.1406) |
| OKLCH | oklch(81.73% 0.147 106.6) |
| XYZ | xyz(47.8231, 55.5213, 14.4996) |
| Luminance | 0.5552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.94
Vomit Yellow
#C7C10C
ΔE00 4.01
Puke Yellow
#C2BE0E
ΔE00 4.32
Ugly Yellow
#D0C101
ΔE00 4.85
Piss Yellow
#DDD618
ΔE00 5.34
Olive Yellow
#C2B709
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC949 #494FCF
analogous
#CF8649 #CFC949 #92CF49
triadic
#CFC949 #49CFC9 #C949CF
tetradic
#CFC949 #49CF86 #494FCF #CF4992
square
#CFC949 #49CF86 #494FCF #CF4992
split-complementary
#CFC949 #4992CF #8649CF
monochromatic
#7D7921 #ADA72E #CFC949 #DCD779 #E9E6AA
Accessibility & contrast
On white
1.73
#CFC949 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#CFC949 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC949
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC949 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC949 | 1.00 | 1.73 | 12.10 | 12.10 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C238
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc949; /* rgb */ color: rgb(207, 201, 73); /* oklch */ color: oklch(81.7% 0.147 106.6);
Tailwind
colors: {
custom: {
50: '#e1d982',
500: '#cfc949',
950: '#000000',
},
}SCSS
$custom: #cfc949; $custom-light: #e1d982; $custom-dark: #000000;
JSON
{
"hex": "#cfc949",
"rgb": {
"r": 207,
"g": 201,
"b": 73
},
"hsl": {
"h": 57.313,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.81733,
"c": 0.14669,
"h": 106.6
},
"luminance": 0.5552
}Semantic roles & 50–950 ramp
primary
#CFC949
secondary
#383B84
accent
#4DE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E