#C5CD4A#C5CD4A
#C5CD4A is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.152 H 112.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CD4A |
|---|---|
| RGB | rgb(197, 205, 74) |
| HSL | hsl(64, 57%, 55%) |
| HSV | hsv(64, 64%, 80%) |
| CMYK | cmyk(3.9%, 0%, 63.9%, 19.6%) |
| CIE-LAB | lab(79.63, -19.37, 61.90) |
| CIE-LCH | lch(79.63, 64.86, 107.37°) |
| OKLab | oklab(81.77% -0.0585 0.1402) |
| OKLCH | oklch(81.77% 0.152 112.6) |
| XYZ | xyz(46.0946, 56.0284, 14.8636) |
| Luminance | 0.5603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.37
Bile
#B5C306
ΔE00 4.49
Green Yellow
#B5CE08
ΔE00 4.64
Puke Yellow
#C2BE0E
ΔE00 5.72
Vomit Yellow
#C7C10C
ΔE00 5.75
Snot
#ACBB0D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CD4A #524ACD
analogous
#CD944A #C5CD4A #84CD4A
triadic
#C5CD4A #4AC5CD #CD4AC5
tetradic
#C5CD4A #4ACD94 #524ACD #CD4A84
square
#C5CD4A #4ACD94 #524ACD #CD4A84
split-complementary
#C5CD4A #4A84CD #944ACD
monochromatic
#757B22 #A3AB2F #C5CD4A #D4DA7A #E4E7AA
Accessibility & contrast
On white
1.72
#C5CD4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#C5CD4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CD4A
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CD4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CD4A | 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)
#DCC439
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c5cd4a; /* rgb */ color: rgb(197, 205, 74); /* oklch */ color: oklch(81.8% 0.152 112.6);
Tailwind
colors: {
custom: {
50: '#dadc83',
500: '#c5cd4a',
950: '#000000',
},
}SCSS
$custom: #c5cd4a; $custom-light: #dadc83; $custom-dark: #000000;
JSON
{
"hex": "#c5cd4a",
"rgb": {
"r": 197,
"g": 205,
"b": 74
},
"hsl": {
"h": 63.664,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.81772,
"c": 0.15194,
"h": 112.6
},
"luminance": 0.56027
}Semantic roles & 50–950 ramp
primary
#C5CD4A
secondary
#3D3883
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E