#CFC452#CFC452
#CFC452 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.135 H 103.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC452 |
|---|---|
| RGB | rgb(207, 196, 82) |
| HSL | hsl(55, 57%, 57%) |
| HSV | hsv(55, 60%, 81%) |
| CMYK | cmyk(0%, 5.3%, 60.4%, 18.8%) |
| CIE-LAB | lab(78.08, -10.16, 57.11) |
| CIE-LCH | lch(78.08, 58.00, 100.09°) |
| OKLab | oklab(80.76% -0.0322 0.131) |
| OKLCH | oklch(80.76% 0.135 103.8) |
| XYZ | xyz(46.9967, 53.3561, 15.8042) |
| Luminance | 0.5335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.00
Dirty Yellow
#CDC50A
ΔE00 5.12
Puke Yellow
#C2BE0E
ΔE00 5.13
Ugly Yellow
#D0C101
ΔE00 5.34
Olive Yellow
#C2B709
ΔE00 5.56
Mustard Yellow
#D2BD0A
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC452 #525DCF
analogous
#CF8652 #CFC452 #9CCF52
triadic
#CFC452 #52CFC4 #C452CF
tetradic
#CFC452 #52CF86 #525DCF #CF529C
square
#CFC452 #52CF86 #525DCF #CF529C
split-complementary
#CFC452 #529CCF #8652CF
monochromatic
#827A24 #B2A731 #CFC452 #DCD482 #EAE5B2
Accessibility & contrast
On white
1.80
#CFC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#CFC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC452
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC452 | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc452; /* rgb */ color: rgb(207, 196, 82); /* oklch */ color: oklch(80.8% 0.135 103.8);
Tailwind
colors: {
custom: {
50: '#e0d587',
500: '#cfc452',
950: '#000000',
},
}SCSS
$custom: #cfc452; $custom-light: #e0d587; $custom-dark: #000000;
JSON
{
"hex": "#cfc452",
"rgb": {
"r": 207,
"g": 196,
"b": 82
},
"hsl": {
"h": 54.72,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.80758,
"c": 0.13487,
"h": 103.8
},
"luminance": 0.53354
}Semantic roles & 50–950 ramp
primary
#CFC452
secondary
#3C428A
accent
#55E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F