#C5CD4D#C5CD4D
#C5CD4D is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.150 H 112.7°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CD4D |
|---|---|
| RGB | rgb(197, 205, 77) |
| HSL | hsl(64, 56%, 55%) |
| HSV | hsv(64, 62%, 80%) |
| CMYK | cmyk(3.9%, 0%, 62.4%, 19.6%) |
| CIE-LAB | lab(79.65, -19.17, 60.70) |
| CIE-LCH | lch(79.65, 63.65, 107.53°) |
| OKLab | oklab(81.8% -0.0576 0.1381) |
| OKLCH | oklch(81.8% 0.15 112.7) |
| XYZ | xyz(46.1981, 56.0697, 15.4087) |
| Luminance | 0.5607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.62
Bile
#B5C306
ΔE00 4.73
Green Yellow
#B5CE08
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 5.63
Puke Yellow
#C2BE0E
ΔE00 5.94
Snot
#ACBB0D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CD4D #554DCD
analogous
#CD954D #C5CD4D #85CD4D
triadic
#C5CD4D #4DC5CD #CD4DC5
tetradic
#C5CD4D #4DCD95 #554DCD #CD4D85
square
#C5CD4D #4DCD95 #554DCD #CD4D85
split-complementary
#C5CD4D #4D85CD #954DCD
monochromatic
#777D23 #A5AC30 #C5CD4D #D5DA7D #E4E8AD
Accessibility & contrast
On white
1.72
#C5CD4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#C5CD4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CD4D
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CD4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CD4D | 1.00 | 1.72 | 12.21 | 12.21 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC43D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c5cd4d; /* rgb */ color: rgb(197, 205, 77); /* oklch */ color: oklch(81.8% 0.150 112.7);
Tailwind
colors: {
custom: {
50: '#d9dc85',
500: '#c5cd4d',
950: '#000000',
},
}SCSS
$custom: #c5cd4d; $custom-light: #d9dc85; $custom-dark: #000000;
JSON
{
"hex": "#c5cd4d",
"rgb": {
"r": 197,
"g": 205,
"b": 77
},
"hsl": {
"h": 63.75,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.81799,
"c": 0.14967,
"h": 112.7
},
"luminance": 0.56069
}Semantic roles & 50–950 ramp
primary
#C5CD4D
secondary
#3E3A84
accent
#48DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E