#C1CD27#C1CD27
#C1CD27 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.2% C 0.173 H 114.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CD27 |
|---|---|
| RGB | rgb(193, 205, 39) |
| HSL | hsl(64, 68%, 48%) |
| HSV | hsv(64, 81%, 80%) |
| CMYK | cmyk(5.9%, 0%, 81%, 19.6%) |
| CIE-LAB | lab(79.13, -22.68, 73.07) |
| CIE-LCH | lch(79.13, 76.51, 107.24°) |
| OKLab | oklab(81.23% -0.0705 0.1582) |
| OKLCH | oklch(81.23% 0.173 114) |
| XYZ | xyz(44.1913, 55.1475, 10.2357) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.49
Green Yellow
#B5CE08
ΔE00 2.58
Bile
#B5C306
ΔE00 2.73
Snot
#ACBB0D
ΔE00 4.86
Vomit Yellow
#C7C10C
ΔE00 4.86
Puke Yellow
#C2BE0E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD27 #3327CD
analogous
#CD8627 #C1CD27 #6ECD27
triadic
#C1CD27 #27C1CD #CD27C1
tetradic
#C1CD27 #27CD86 #3327CD #CD276E
square
#C1CD27 #27CD86 #3327CD #CD276E
split-complementary
#C1CD27 #276ECD #8627CD
monochromatic
#606613 #919A1D #C1CD27 #D4DE53 #E1E886
Accessibility & contrast
On white
1.75
#C1CD27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#C1CD27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD27
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD27 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DCC538
Tritanopia (blue-blind)
#CEC0AF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c1cd27; /* rgb */ color: rgb(193, 205, 39); /* oklch */ color: oklch(81.2% 0.173 114.0);
Tailwind
colors: {
custom: {
50: '#d8dc72',
500: '#c1cd27',
950: '#000000',
},
}SCSS
$custom: #c1cd27; $custom-light: #d8dc72; $custom-dark: #000000;
JSON
{
"hex": "#c1cd27",
"rgb": {
"r": 193,
"g": 205,
"b": 39
},
"hsl": {
"h": 64.337,
"s": 68.033,
"l": 47.843
},
"oklch": {
"l": 0.8123,
"c": 0.17319,
"h": 114
},
"luminance": 0.55147
}Semantic roles & 50–950 ramp
primary
#C1CD27
secondary
#2D2870
accent
#3DEB49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D