#C4CD54#C4CD54
#C4CD54 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.144 H 113.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C4CD54 |
|---|---|
| RGB | rgb(196, 205, 84) |
| HSL | hsl(64, 55%, 57%) |
| HSV | hsv(64, 59%, 80%) |
| CMYK | cmyk(4.4%, 0%, 59%, 19.6%) |
| CIE-LAB | lab(79.64, -19.10, 57.69) |
| CIE-LCH | lch(79.64, 60.77, 108.32°) |
| OKLab | oklab(81.79% -0.0567 0.1327) |
| OKLCH | oklch(81.79% 0.144 113.1) |
| XYZ | xyz(46.1976, 56.0394, 16.7688) |
| Luminance | 0.5604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.82
Baby Puke Green
#B6C406
ΔE00 5.27
Bile
#B5C306
ΔE00 5.36
Green Yellow
#B5CE08
ΔE00 5.40
Pea
#A4BF20
ΔE00 6.31
Snot
#ACBB0D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4CD54 #5D54CD
analogous
#CD9A54 #C4CD54 #88CD54
triadic
#C4CD54 #54C4CD #CD54C4
tetradic
#C4CD54 #54CD9A #5D54CD #CD5488
square
#C4CD54 #54CD9A #5D54CD #CD5488
split-complementary
#C4CD54 #5488CD #9A54CD
monochromatic
#7A8126 #A7B034 #C4CD54 #D4DB83 #E5E9B3
Accessibility & contrast
On white
1.72
#C4CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#C4CD54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4CD54
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4CD54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4CD54 | 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)
#DBC446
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#D0C2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c4cd54; /* rgb */ color: rgb(196, 205, 84); /* oklch */ color: oklch(81.8% 0.144 113.1);
Tailwind
colors: {
custom: {
50: '#d8dc89',
500: '#c4cd54',
950: '#000000',
},
}SCSS
$custom: #c4cd54; $custom-light: #d8dc89; $custom-dark: #000000;
JSON
{
"hex": "#c4cd54",
"rgb": {
"r": 196,
"g": 205,
"b": 84
},
"hsl": {
"h": 64.463,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.81785,
"c": 0.14429,
"h": 113.1
},
"luminance": 0.56038
}Semantic roles & 50–950 ramp
primary
#C4CD54
secondary
#423D88
accent
#4ADE55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F