#CFC253#CFC253
#CFC253 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.132 H 102.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC253 |
|---|---|
| RGB | rgb(207, 194, 83) |
| HSL | hsl(54, 56%, 57%) |
| HSV | hsv(54, 60%, 81%) |
| CMYK | cmyk(0%, 6.3%, 59.9%, 18.8%) |
| CIE-LAB | lab(77.56, -9.07, 56.09) |
| CIE-LCH | lch(77.56, 56.82, 99.18°) |
| OKLab | oklab(80.35% -0.029 0.1289) |
| OKLCH | oklch(80.35% 0.132 102.7) |
| XYZ | xyz(46.5869, 52.4753, 15.8567) |
| Luminance | 0.5247 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.34
Puke Yellow
#C2BE0E
ΔE00 5.43
Ugly Yellow
#D0C101
ΔE00 5.49
Dirty Yellow
#CDC50A
ΔE00 5.50
Olive Yellow
#C2B709
ΔE00 5.55
Mustard Yellow
#D2BD0A
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC253 #5360CF
analogous
#CF8453 #CFC253 #9ECF53
triadic
#CFC253 #53CFC2 #C253CF
tetradic
#CFC253 #53CF84 #5360CF #CF539E
square
#CFC253 #53CF84 #5360CF #CF539E
split-complementary
#CFC253 #539ECF #8453CF
monochromatic
#837925 #B3A532 #CFC253 #DCD383 #EAE4B3
Accessibility & contrast
On white
1.83
#CFC253 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CFC253 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC253
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC253 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC253 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc253; /* rgb */ color: rgb(207, 194, 83); /* oklch */ color: oklch(80.3% 0.132 102.7);
Tailwind
colors: {
custom: {
50: '#e0d488',
500: '#cfc253',
950: '#000000',
},
}SCSS
$custom: #cfc253; $custom-light: #e0d488; $custom-dark: #000000;
JSON
{
"hex": "#cfc253",
"rgb": {
"r": 207,
"g": 194,
"b": 83
},
"hsl": {
"h": 53.71,
"s": 56.364,
"l": 56.863
},
"oklch": {
"l": 0.80347,
"c": 0.13215,
"h": 102.7
},
"luminance": 0.52474
}Semantic roles & 50–950 ramp
primary
#CFC253
secondary
#3C448A
accent
#58E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F