#C5CD56#C5CD56
#C5CD56 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.142 H 112.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CD56 |
|---|---|
| RGB | rgb(197, 205, 86) |
| HSL | hsl(64, 54%, 57%) |
| HSV | hsv(64, 58%, 80%) |
| CMYK | cmyk(3.9%, 0%, 58%, 19.6%) |
| CIE-LAB | lab(79.73, -18.54, 56.94) |
| CIE-LCH | lch(79.73, 59.88, 108.04°) |
| OKLab | oklab(81.88% -0.0549 0.1313) |
| OKLCH | oklch(81.88% 0.142 112.7) |
| XYZ | xyz(46.5381, 56.2058, 17.1995) |
| Luminance | 0.5621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.62
Baby Puke Green
#B6C406
ΔE00 5.49
Bile
#B5C306
ΔE00 5.57
Green Yellow
#B5CE08
ΔE00 5.68
Greenish Tan
#BCCB7A
ΔE00 6.29
Snot
#ACBB0D
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CD56 #5E56CD
analogous
#CD9A56 #C5CD56 #89CD56
triadic
#C5CD56 #56C5CD #CD56C5
tetradic
#C5CD56 #56CD9A #5E56CD #CD5689
square
#C5CD56 #56CD9A #5E56CD #CD5689
split-complementary
#C5CD56 #5689CD #9A56CD
monochromatic
#7C8226 #A9B134 #C5CD56 #D5DB85 #E5E9B4
Accessibility & contrast
On white
1.72
#C5CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.24
#C5CD56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CD56
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CD56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CD56 | 1.00 | 1.72 | 12.24 | 12.24 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c5cd56; /* rgb */ color: rgb(197, 205, 86); /* oklch */ color: oklch(81.9% 0.142 112.7);
Tailwind
colors: {
custom: {
50: '#d9dc8a',
500: '#c5cd56',
950: '#000000',
},
}SCSS
$custom: #c5cd56; $custom-light: #d9dc8a; $custom-dark: #000000;
JSON
{
"hex": "#c5cd56",
"rgb": {
"r": 197,
"g": 205,
"b": 86
},
"hsl": {
"h": 64.034,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.81885,
"c": 0.14237,
"h": 112.7
},
"luminance": 0.56205
}Semantic roles & 50–950 ramp
primary
#C5CD56
secondary
#433E89
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F