#C5CD48#C5CD48
#C5CD48 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.153 H 112.6°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CD48 |
|---|---|
| RGB | rgb(197, 205, 72) |
| HSL | hsl(64, 57%, 54%) |
| HSV | hsv(64, 65%, 80%) |
| CMYK | cmyk(3.9%, 0%, 64.9%, 19.6%) |
| CIE-LAB | lab(79.61, -19.49, 62.69) |
| CIE-LCH | lch(79.61, 65.65, 107.27°) |
| OKLab | oklab(81.76% -0.059 0.1416) |
| OKLCH | oklch(81.76% 0.153 112.6) |
| XYZ | xyz(46.0283, 56.0018, 14.5144) |
| Luminance | 0.5600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.21
Bile
#B5C306
ΔE00 4.34
Green Yellow
#B5CE08
ΔE00 4.49
Puke Yellow
#C2BE0E
ΔE00 5.59
Vomit Yellow
#C7C10C
ΔE00 5.60
Snot
#ACBB0D
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CD48 #5048CD
analogous
#CD9348 #C5CD48 #83CD48
triadic
#C5CD48 #48C5CD #CD48C5
tetradic
#C5CD48 #48CD93 #5048CD #CD4883
square
#C5CD48 #48CD93 #5048CD #CD4883
split-complementary
#C5CD48 #4883CD #9348CD
monochromatic
#747921 #A2A92E #C5CD48 #D4DA78 #E3E7A8
Accessibility & contrast
On white
1.72
#C5CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.20
#C5CD48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CD48
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CD48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CD48 | 1.00 | 1.72 | 12.20 | 12.20 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c5cd48; /* rgb */ color: rgb(197, 205, 72); /* oklch */ color: oklch(81.8% 0.153 112.6);
Tailwind
colors: {
custom: {
50: '#dadc82',
500: '#c5cd48',
950: '#000000',
},
}SCSS
$custom: #c5cd48; $custom-light: #dadc82; $custom-dark: #000000;
JSON
{
"hex": "#c5cd48",
"rgb": {
"r": 197,
"g": 205,
"b": 72
},
"hsl": {
"h": 63.609,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.81755,
"c": 0.15341,
"h": 112.6
},
"luminance": 0.56001
}Semantic roles & 50–950 ramp
primary
#C5CD48
secondary
#3C3882
accent
#47E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E