#C1C52F#C1C52F
#C1C52F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.5% C 0.162 H 111.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C1C52F |
|---|---|
| RGB | rgb(193, 197, 47) |
| HSL | hsl(62, 61%, 48%) |
| HSV | hsv(62, 76%, 77%) |
| CMYK | cmyk(2%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(76.97, -18.46, 68.90) |
| CIE-LCH | lch(76.97, 71.33, 104.99°) |
| OKLab | oklab(79.51% -0.0583 0.1506) |
| OKLCH | oklch(79.51% 0.162 111.1) |
| XYZ | xyz(42.4732, 51.4763, 10.3873) |
| Luminance | 0.5148 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.57
Bile
#B5C306
ΔE00 2.63
Puke Yellow
#C2BE0E
ΔE00 2.94
Vomit Yellow
#C7C10C
ΔE00 3.17
Dirty Yellow
#CDC50A
ΔE00 3.74
Snot
#ACBB0D
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1C52F #332FC5
analogous
#C57E2F #C1C52F #76C52F
triadic
#C1C52F #2FC1C5 #C52FC1
tetradic
#C1C52F #2FC57E #332FC5 #C52F76
square
#C1C52F #2FC57E #332FC5 #C52F76
split-complementary
#C1C52F #2F76C5 #7E2FC5
monochromatic
#606217 #919423 #C1C52F #D4D85A #E1E38B
Accessibility & contrast
On white
1.86
#C1C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#C1C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1C52F
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1C52F | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC03
Deuteranopia (green-blind)
#D6C03C
Tritanopia (blue-blind)
#CFB8A9
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c1c52f; /* rgb */ color: rgb(193, 197, 47); /* oklch */ color: oklch(79.5% 0.162 111.1);
Tailwind
colors: {
custom: {
50: '#d8d674',
500: '#c1c52f',
950: '#000000',
},
}SCSS
$custom: #c1c52f; $custom-light: #d8d674; $custom-dark: #000000;
JSON
{
"hex": "#c1c52f",
"rgb": {
"r": 193,
"g": 197,
"b": 47
},
"hsl": {
"h": 61.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.79511,
"c": 0.16151,
"h": 111.1
},
"luminance": 0.51475
}Semantic roles & 50–950 ramp
primary
#C1C52F
secondary
#2D2B6D
accent
#43E548
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D