#CFC14F#CFC14F
#CFC14F is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.135 H 102.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC14F |
|---|---|
| RGB | rgb(207, 193, 79) |
| HSL | hsl(53, 57%, 56%) |
| HSV | hsv(53, 62%, 81%) |
| CMYK | cmyk(0%, 6.8%, 61.8%, 18.8%) |
| CIE-LAB | lab(77.26, -8.82, 57.52) |
| CIE-LCH | lch(77.26, 58.20, 98.72°) |
| OKLab | oklab(80.1% -0.0287 0.1314) |
| OKLCH | oklch(80.1% 0.135 102.3) |
| XYZ | xyz(46.2151, 51.9716, 14.9928) |
| Luminance | 0.5197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.03
Ugly Yellow
#D0C101
ΔE00 5.07
Mustard Yellow
#D2BD0A
ΔE00 5.08
Olive Yellow
#C2B709
ΔE00 5.13
Puke Yellow
#C2BE0E
ΔE00 5.14
Dirty Yellow
#CDC50A
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC14F #4F5DCF
analogous
#CF814F #CFC14F #9DCF4F
triadic
#CFC14F #4FCFC1 #C14FCF
tetradic
#CFC14F #4FCF81 #4F5DCF #CF4F9D
square
#CFC14F #4FCF81 #4F5DCF #CF4F9D
split-complementary
#CFC14F #4F9DCF #814FCF
monochromatic
#817623 #B1A330 #CFC14F #DCD27F #E9E3AF
Accessibility & contrast
On white
1.84
#CFC14F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#CFC14F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC14F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC14F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC14F | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#DEB4A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc14f; /* rgb */ color: rgb(207, 193, 79); /* oklch */ color: oklch(80.1% 0.135 102.3);
Tailwind
colors: {
custom: {
50: '#e1d385',
500: '#cfc14f',
950: '#000000',
},
}SCSS
$custom: #cfc14f; $custom-light: #e1d385; $custom-dark: #000000;
JSON
{
"hex": "#cfc14f",
"rgb": {
"r": 207,
"g": 193,
"b": 79
},
"hsl": {
"h": 53.438,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.80097,
"c": 0.13454,
"h": 102.3
},
"luminance": 0.5197
}Semantic roles & 50–950 ramp
primary
#CFC14F
secondary
#3A4388
accent
#58E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E