#C5CD54#C5CD54
#C5CD54 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.144 H 112.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CD54 |
|---|---|
| RGB | rgb(197, 205, 84) |
| HSL | hsl(64, 55%, 57%) |
| HSV | hsv(64, 59%, 80%) |
| CMYK | cmyk(3.9%, 0%, 59%, 19.6%) |
| CIE-LAB | lab(79.71, -18.69, 57.79) |
| CIE-LCH | lch(79.71, 60.74, 107.92°) |
| OKLab | oklab(81.86% -0.0556 0.1329) |
| OKLCH | oklch(81.86% 0.144 112.7) |
| XYZ | xyz(46.4586, 56.1740, 16.7811) |
| Luminance | 0.5617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.85
Baby Puke Green
#B6C406
ΔE00 5.28
Bile
#B5C306
ΔE00 5.37
Green Yellow
#B5CE08
ΔE00 5.49
Snot
#ACBB0D
ΔE00 6.40
Pea
#A4BF20
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CD54 #5C54CD
analogous
#CD9954 #C5CD54 #89CD54
triadic
#C5CD54 #54C5CD #CD54C5
tetradic
#C5CD54 #54CD99 #5C54CD #CD5489
square
#C5CD54 #54CD99 #5C54CD #CD5489
split-complementary
#C5CD54 #5489CD #9954CD
monochromatic
#7B8126 #A8B034 #C5CD54 #D5DB83 #E5E9B3
Accessibility & contrast
On white
1.72
#C5CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#C5CD54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CD54
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CD54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CD54 | 1.00 | 1.72 | 12.23 | 12.23 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c5cd54; /* rgb */ color: rgb(197, 205, 84); /* oklch */ color: oklch(81.9% 0.144 112.7);
Tailwind
colors: {
custom: {
50: '#d9dc89',
500: '#c5cd54',
950: '#000000',
},
}SCSS
$custom: #c5cd54; $custom-light: #d9dc89; $custom-dark: #000000;
JSON
{
"hex": "#c5cd54",
"rgb": {
"r": 197,
"g": 205,
"b": 84
},
"hsl": {
"h": 63.967,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.81865,
"c": 0.14405,
"h": 112.7
},
"luminance": 0.56173
}Semantic roles & 50–950 ramp
primary
#C5CD54
secondary
#423D88
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F