#C1C52D#C1C52D
#C1C52D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.5% C 0.163 H 111.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C1C52D |
|---|---|
| RGB | rgb(193, 197, 45) |
| HSL | hsl(62, 63%, 47%) |
| HSV | hsv(62, 77%, 77%) |
| CMYK | cmyk(2%, 0%, 77.2%, 22.7%) |
| CIE-LAB | lab(76.96, -18.53, 69.50) |
| CIE-LCH | lch(76.96, 71.93, 104.93°) |
| OKLab | oklab(79.5% -0.0586 0.1516) |
| OKLCH | oklch(79.5% 0.163 111.1) |
| XYZ | xyz(42.4337, 51.4606, 10.1797) |
| Luminance | 0.5146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.50
Bile
#B5C306
ΔE00 2.57
Puke Yellow
#C2BE0E
ΔE00 2.85
Vomit Yellow
#C7C10C
ΔE00 3.08
Dirty Yellow
#CDC50A
ΔE00 3.65
Snot
#ACBB0D
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1C52D #312DC5
analogous
#C57D2D #C1C52D #75C52D
triadic
#C1C52D #2DC1C5 #C52DC1
tetradic
#C1C52D #2DC57D #312DC5 #C52D75
square
#C1C52D #2DC57D #312DC5 #C52D75
split-complementary
#C1C52D #2D75C5 #7D2DC5
monochromatic
#5F6116 #909322 #C1C52D #D5D957 #E2E488
Accessibility & contrast
On white
1.86
#C1C52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#C1C52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1C52D
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1C52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1C52D | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C03B
Tritanopia (blue-blind)
#CFB8A9
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c1c52d; /* rgb */ color: rgb(193, 197, 45); /* oklch */ color: oklch(79.5% 0.163 111.1);
Tailwind
colors: {
custom: {
50: '#d8d673',
500: '#c1c52d',
950: '#000000',
},
}SCSS
$custom: #c1c52d; $custom-light: #d8d673; $custom-dark: #000000;
JSON
{
"hex": "#c1c52d",
"rgb": {
"r": 193,
"g": 197,
"b": 45
},
"hsl": {
"h": 61.579,
"s": 62.81,
"l": 47.451
},
"oklch": {
"l": 0.795,
"c": 0.16251,
"h": 111.1
},
"luminance": 0.51459
}Semantic roles & 50–950 ramp
primary
#C1C52D
secondary
#2C2A6C
accent
#42E646
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D