#CFC73F#CFC73F
#CFC73F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.152 H 106.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC73F |
|---|---|
| RGB | rgb(207, 199, 63) |
| HSL | hsl(57, 60%, 53%) |
| HSV | hsv(57, 70%, 81%) |
| CMYK | cmyk(0%, 3.9%, 69.6%, 18.8%) |
| CIE-LAB | lab(78.74, -12.81, 65.52) |
| CIE-LCH | lch(78.74, 66.76, 101.06°) |
| OKLab | oklab(81.23% -0.0417 0.1458) |
| OKLCH | oklch(81.23% 0.152 106) |
| XYZ | xyz(47.0546, 54.4728, 12.7373) |
| Luminance | 0.5447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 2.94
Vomit Yellow
#C7C10C
ΔE00 3.06
Puke Yellow
#C2BE0E
ΔE00 3.49
Ugly Yellow
#D0C101
ΔE00 3.76
Olive Yellow
#C2B709
ΔE00 4.67
Mustard Yellow
#D2BD0A
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC73F #3F47CF
analogous
#CF7F3F #CFC73F #8FCF3F
triadic
#CFC73F #3FCFC7 #C73FCF
tetradic
#CFC73F #3FCF7F #3F47CF #CF3F8F
square
#CFC73F #3FCF7F #3F47CF #CF3F8F
split-complementary
#CFC73F #3F8FCF #7F3FCF
monochromatic
#76711E #A7A02A #CFC73F #DBD570 #E7E4A1
Accessibility & contrast
On white
1.77
#CFC73F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#CFC73F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC73F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC73F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC73F | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C029
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc73f; /* rgb */ color: rgb(207, 199, 63); /* oklch */ color: oklch(81.2% 0.152 106.0);
Tailwind
colors: {
custom: {
50: '#e1d77c',
500: '#cfc73f',
950: '#000000',
},
}SCSS
$custom: #cfc73f; $custom-light: #e1d77c; $custom-dark: #000000;
JSON
{
"hex": "#cfc73f",
"rgb": {
"r": 207,
"g": 199,
"b": 63
},
"hsl": {
"h": 56.667,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.8123,
"c": 0.15168,
"h": 106
},
"luminance": 0.54471
}Semantic roles & 50–950 ramp
primary
#CFC73F
secondary
#34387F
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D