#C5CF52#C5CF52
#C5CF52 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.3% C 0.148 H 113.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CF52 |
|---|---|
| RGB | rgb(197, 207, 82) |
| HSL | hsl(65, 57%, 57%) |
| HSV | hsv(65, 60%, 81%) |
| CMYK | cmyk(4.8%, 0%, 60.4%, 18.8%) |
| CIE-LAB | lab(80.24, -19.82, 59.23) |
| CIE-LCH | lch(80.24, 62.46, 108.50°) |
| OKLab | oklab(82.28% -0.059 0.1357) |
| OKLCH | oklch(82.28% 0.148 113.5) |
| XYZ | xyz(46.8629, 57.1060, 16.5349) |
| Luminance | 0.5710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 5.04
Greenish Beige
#C9D179
ΔE00 5.13
Baby Puke Green
#B6C406
ΔE00 5.17
Bile
#B5C306
ΔE00 5.28
Pea
#A4BF20
ΔE00 6.37
Snot
#ACBB0D
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CF52 #5C52CF
analogous
#CF9B52 #C5CF52 #87CF52
triadic
#C5CF52 #52C5CF #CF52C5
tetradic
#C5CF52 #52CF9B #5C52CF #CF5287
square
#C5CF52 #52CF9B #5C52CF #CF5287
split-complementary
#C5CF52 #5287CF #9B52CF
monochromatic
#7B8224 #A8B231 #C5CF52 #D5DC82 #E5EAB2
Accessibility & contrast
On white
1.69
#C5CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.42
#C5CF52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CF52
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CF52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CF52 | 1.00 | 1.69 | 12.42 | 12.42 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#D1C4B5
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #c5cf52; /* rgb */ color: rgb(197, 207, 82); /* oklch */ color: oklch(82.3% 0.148 113.5);
Tailwind
colors: {
custom: {
50: '#d9dd88',
500: '#c5cf52',
950: '#000000',
},
}SCSS
$custom: #c5cf52; $custom-light: #d9dd88; $custom-dark: #000000;
JSON
{
"hex": "#c5cf52",
"rgb": {
"r": 197,
"g": 207,
"b": 82
},
"hsl": {
"h": 64.8,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.82281,
"c": 0.14795,
"h": 113.5
},
"luminance": 0.57105
}Semantic roles & 50–950 ramp
primary
#C5CF52
secondary
#423C8A
accent
#48E054
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F