#CFC43F#CFC43F
#CFC43F is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.149 H 104.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC43F |
|---|---|
| RGB | rgb(207, 196, 63) |
| HSL | hsl(55, 60%, 53%) |
| HSV | hsv(55, 70%, 81%) |
| CMYK | cmyk(0%, 5.3%, 69.6%, 18.8%) |
| CIE-LAB | lab(77.94, -11.29, 64.73) |
| CIE-LCH | lch(77.94, 65.71, 99.89°) |
| OKLab | oklab(80.59% -0.0374 0.1442) |
| OKLCH | oklch(80.59% 0.149 104.6) |
| XYZ | xyz(46.3711, 53.1059, 12.5095) |
| Luminance | 0.5310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 3.11
Dirty Yellow
#CDC50A
ΔE00 3.12
Ugly Yellow
#D0C101
ΔE00 3.42
Puke Yellow
#C2BE0E
ΔE00 3.48
Mustard Yellow
#D2BD0A
ΔE00 4.09
Olive Yellow
#C2B709
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC43F #3F4ACF
analogous
#CF7C3F #CFC43F #92CF3F
triadic
#CFC43F #3FCFC4 #C43FCF
tetradic
#CFC43F #3FCF7C #3F4ACF #CF3F92
square
#CFC43F #3FCF7C #3F4ACF #CF3F92
split-complementary
#CFC43F #3F92CF #7C3FCF
monochromatic
#766F1E #A79D2A #CFC43F #DBD370 #E7E2A1
Accessibility & contrast
On white
1.81
#CFC43F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#CFC43F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC43F
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC43F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC43F | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc43f; /* rgb */ color: rgb(207, 196, 63); /* oklch */ color: oklch(80.6% 0.149 104.6);
Tailwind
colors: {
custom: {
50: '#e1d57c',
500: '#cfc43f',
950: '#000000',
},
}SCSS
$custom: #cfc43f; $custom-light: #e1d57c; $custom-dark: #000000;
JSON
{
"hex": "#cfc43f",
"rgb": {
"r": 207,
"g": 196,
"b": 63
},
"hsl": {
"h": 55.417,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.80594,
"c": 0.14894,
"h": 104.6
},
"luminance": 0.53104
}Semantic roles & 50–950 ramp
primary
#CFC43F
secondary
#34397F
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D