#CFC63F#CFC63F
#CFC63F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.151 H 105.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC63F |
|---|---|
| RGB | rgb(207, 198, 63) |
| HSL | hsl(56, 60%, 53%) |
| HSV | hsv(56, 70%, 81%) |
| CMYK | cmyk(0%, 4.3%, 69.6%, 18.8%) |
| CIE-LAB | lab(78.47, -12.30, 65.26) |
| CIE-LCH | lch(78.47, 66.41, 100.67°) |
| OKLab | oklab(81.02% -0.0403 0.1453) |
| OKLCH | oklch(81.02% 0.151 105.5) |
| XYZ | xyz(46.8253, 54.0142, 12.6609) |
| Luminance | 0.5401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 2.96
Vomit Yellow
#C7C10C
ΔE00 3.04
Puke Yellow
#C2BE0E
ΔE00 3.45
Ugly Yellow
#D0C101
ΔE00 3.62
Olive Yellow
#C2B709
ΔE00 4.48
Mustard Yellow
#D2BD0A
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC63F #3F48CF
analogous
#CF7E3F #CFC63F #90CF3F
triadic
#CFC63F #3FCFC6 #C63FCF
tetradic
#CFC63F #3FCF7E #3F48CF #CF3F90
square
#CFC63F #3FCF7E #3F48CF #CF3F90
split-complementary
#CFC63F #3F90CF #7E3FCF
monochromatic
#76711E #A79F2A #CFC63F #DBD570 #E7E3A1
Accessibility & contrast
On white
1.78
#CFC63F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#CFC63F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC63F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC63F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC63F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#DAC548
Tritanopia (blue-blind)
#DEB9AB
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc63f; /* rgb */ color: rgb(207, 198, 63); /* oklch */ color: oklch(81.0% 0.151 105.5);
Tailwind
colors: {
custom: {
50: '#e1d77c',
500: '#cfc63f',
950: '#000000',
},
}SCSS
$custom: #cfc63f; $custom-light: #e1d77c; $custom-dark: #000000;
JSON
{
"hex": "#cfc63f",
"rgb": {
"r": 207,
"g": 198,
"b": 63
},
"hsl": {
"h": 56.25,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.81017,
"c": 0.15077,
"h": 105.5
},
"luminance": 0.54012
}Semantic roles & 50–950 ramp
primary
#CFC63F
secondary
#34387F
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D