#C2CD48#C2CD48
#C2CD48 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.154 H 113.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CD48 |
|---|---|
| RGB | rgb(194, 205, 72) |
| HSL | hsl(65, 57%, 54%) |
| HSV | hsv(65, 65%, 80%) |
| CMYK | cmyk(5.4%, 0%, 64.9%, 19.6%) |
| CIE-LAB | lab(79.39, -20.73, 62.38) |
| CIE-LCH | lch(79.39, 65.73, 108.38°) |
| OKLab | oklab(81.52% -0.0623 0.141) |
| OKLCH | oklch(81.52% 0.154 113.9) |
| XYZ | xyz(45.2503, 55.6007, 14.4779) |
| Luminance | 0.5560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.15
Green Yellow
#B5CE08
ΔE00 4.16
Bile
#B5C306
ΔE00 4.26
Snot
#ACBB0D
ΔE00 5.55
Pea
#A4BF20
ΔE00 5.59
Puke Yellow
#C2BE0E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CD48 #5348CD
analogous
#CD9548 #C2CD48 #80CD48
triadic
#C2CD48 #48C2CD #CD48C2
tetradic
#C2CD48 #48CD95 #5348CD #CD4880
square
#C2CD48 #48CD95 #5348CD #CD4880
split-complementary
#C2CD48 #4880CD #9548CD
monochromatic
#727921 #9FA92E #C2CD48 #D2DA78 #E2E7A8
Accessibility & contrast
On white
1.73
#C2CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#C2CD48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CD48
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CD48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CD48 | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2cd48; /* rgb */ color: rgb(194, 205, 72); /* oklch */ color: oklch(81.5% 0.154 113.9);
Tailwind
colors: {
custom: {
50: '#d7dc82',
500: '#c2cd48',
950: '#000000',
},
}SCSS
$custom: #c2cd48; $custom-light: #d7dc82; $custom-dark: #000000;
JSON
{
"hex": "#c2cd48",
"rgb": {
"r": 194,
"g": 205,
"b": 72
},
"hsl": {
"h": 64.962,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.81516,
"c": 0.15418,
"h": 113.9
},
"luminance": 0.556
}Semantic roles & 50–950 ramp
primary
#C2CD48
secondary
#3E3882
accent
#47E054
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E