#C4CF52#C4CF52
#C4CF52 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.2% C 0.148 H 113.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C4CF52 |
|---|---|
| RGB | rgb(196, 207, 82) |
| HSL | hsl(65, 57%, 57%) |
| HSV | hsv(65, 60%, 81%) |
| CMYK | cmyk(5.3%, 0%, 60.4%, 18.8%) |
| CIE-LAB | lab(80.16, -20.23, 59.12) |
| CIE-LCH | lch(80.16, 62.49, 108.89°) |
| OKLab | oklab(82.2% -0.06 0.1355) |
| OKLCH | oklch(82.2% 0.148 113.9) |
| XYZ | xyz(46.6019, 56.9714, 16.5227) |
| Luminance | 0.5697 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.96
Greenish Beige
#C9D179
ΔE00 5.11
Baby Puke Green
#B6C406
ΔE00 5.17
Bile
#B5C306
ΔE00 5.28
Pea
#A4BF20
ΔE00 6.24
Snot
#ACBB0D
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4CF52 #5D52CF
analogous
#CF9C52 #C4CF52 #86CF52
triadic
#C4CF52 #52C4CF #CF52C4
tetradic
#C4CF52 #52CF9C #5D52CF #CF5286
square
#C4CF52 #52CF9C #5D52CF #CF5286
split-complementary
#C4CF52 #5286CF #9C52CF
monochromatic
#7A8224 #A7B231 #C4CF52 #D4DC82 #E5EAB2
Accessibility & contrast
On white
1.69
#C4CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.39
#C4CF52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4CF52
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4CF52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4CF52 | 1.00 | 1.69 | 12.39 | 12.39 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#D0C4B5
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #c4cf52; /* rgb */ color: rgb(196, 207, 82); /* oklch */ color: oklch(82.2% 0.148 113.9);
Tailwind
colors: {
custom: {
50: '#d9dd88',
500: '#c4cf52',
950: '#000000',
},
}SCSS
$custom: #c4cf52; $custom-light: #d9dd88; $custom-dark: #000000;
JSON
{
"hex": "#c4cf52",
"rgb": {
"r": 196,
"g": 207,
"b": 82
},
"hsl": {
"h": 65.28,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.82201,
"c": 0.1482,
"h": 113.9
},
"luminance": 0.56971
}Semantic roles & 50–950 ramp
primary
#C4CF52
secondary
#423C8A
accent
#48E055
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F