#C1CD52#C1CD52
#C1CD52 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.147 H 114.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CD52 |
|---|---|
| RGB | rgb(193, 205, 82) |
| HSL | hsl(66, 55%, 56%) |
| HSV | hsv(66, 60%, 80%) |
| CMYK | cmyk(5.9%, 0%, 60%, 19.6%) |
| CIE-LAB | lab(79.39, -20.47, 58.22) |
| CIE-LCH | lch(79.39, 61.71, 109.37°) |
| OKLab | oklab(81.53% -0.0605 0.1336) |
| OKLCH | oklch(81.53% 0.147 114.4) |
| XYZ | xyz(45.3477, 55.6101, 16.3260) |
| Luminance | 0.5561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 5.01
Greenish Beige
#C9D179
ΔE00 5.01
Baby Puke Green
#B6C406
ΔE00 5.10
Bile
#B5C306
ΔE00 5.18
Pea
#A4BF20
ΔE00 5.81
Snot
#ACBB0D
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD52 #5E52CD
analogous
#CD9C52 #C1CD52 #84CD52
triadic
#C1CD52 #52C1CD #CD52C1
tetradic
#C1CD52 #52CD9C #5E52CD #CD5284
square
#C1CD52 #52CD9C #5E52CD #CD5284
split-complementary
#C1CD52 #5284CD #9C52CD
monochromatic
#778025 #A3AF33 #C1CD52 #D2DB81 #E3E8B1
Accessibility & contrast
On white
1.73
#C1CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#C1CD52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD52
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD52 | 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)
#DBC444
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#CDC2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c1cd52; /* rgb */ color: rgb(193, 205, 82); /* oklch */ color: oklch(81.5% 0.147 114.4);
Tailwind
colors: {
custom: {
50: '#d6dc88',
500: '#c1cd52',
950: '#000000',
},
}SCSS
$custom: #c1cd52; $custom-light: #d6dc88; $custom-dark: #000000;
JSON
{
"hex": "#c1cd52",
"rgb": {
"r": 193,
"g": 205,
"b": 82
},
"hsl": {
"h": 65.854,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.81527,
"c": 0.14671,
"h": 114.4
},
"luminance": 0.55609
}Semantic roles & 50–950 ramp
primary
#C1CD52
secondary
#433C87
accent
#49DE58
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F