#CFC53F#CFC53F
#CFC53F is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.150 H 105.0°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC53F |
|---|---|
| RGB | rgb(207, 197, 63) |
| HSL | hsl(56, 60%, 53%) |
| HSV | hsv(56, 70%, 81%) |
| CMYK | cmyk(0%, 4.8%, 69.6%, 18.8%) |
| CIE-LAB | lab(78.20, -11.79, 65.00) |
| CIE-LCH | lch(78.20, 66.06, 100.28°) |
| OKLab | oklab(80.81% -0.0389 0.1447) |
| OKLCH | oklch(80.81% 0.15 105) |
| XYZ | xyz(46.5975, 53.5585, 12.5850) |
| Luminance | 0.5356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.02
Vomit Yellow
#C7C10C
ΔE00 3.06
Puke Yellow
#C2BE0E
ΔE00 3.45
Ugly Yellow
#D0C101
ΔE00 3.50
Mustard Yellow
#D2BD0A
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC53F #3F49CF
analogous
#CF7D3F #CFC53F #91CF3F
triadic
#CFC53F #3FCFC5 #C53FCF
tetradic
#CFC53F #3FCF7D #3F49CF #CF3F91
square
#CFC53F #3FCF7D #3F49CF #CF3F91
split-complementary
#CFC53F #3F91CF #7D3FCF
monochromatic
#76701E #A79E2A #CFC53F #DBD470 #E7E3A1
Accessibility & contrast
On white
1.79
#CFC53F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CFC53F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC53F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC53F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC53F | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#DAC448
Tritanopia (blue-blind)
#DEB8AA
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc53f; /* rgb */ color: rgb(207, 197, 63); /* oklch */ color: oklch(80.8% 0.150 105.0);
Tailwind
colors: {
custom: {
50: '#e1d67c',
500: '#cfc53f',
950: '#000000',
},
}SCSS
$custom: #cfc53f; $custom-light: #e1d67c; $custom-dark: #000000;
JSON
{
"hex": "#cfc53f",
"rgb": {
"r": 207,
"g": 197,
"b": 63
},
"hsl": {
"h": 55.833,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.80805,
"c": 0.14985,
"h": 105
},
"luminance": 0.53557
}Semantic roles & 50–950 ramp
primary
#CFC53F
secondary
#34397F
accent
#50E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D