#C1CD28#C1CD28
#C1CD28 is a light, vivid yellow. Relative luminance 0.552; 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 | #C1CD28 |
|---|---|
| RGB | rgb(193, 205, 40) |
| HSL | hsl(64, 67%, 48%) |
| HSV | hsv(64, 80%, 80%) |
| CMYK | cmyk(5.9%, 0%, 80.5%, 19.6%) |
| CIE-LAB | lab(79.13, -22.64, 72.82) |
| CIE-LCH | lch(79.13, 76.26, 107.27°) |
| OKLab | oklab(81.23% -0.0704 0.1578) |
| OKLCH | oklch(81.23% 0.173 114) |
| XYZ | xyz(44.2081, 55.1542, 10.3241) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.51
Green Yellow
#B5CE08
ΔE00 2.59
Bile
#B5C306
ΔE00 2.74
Snot
#ACBB0D
ΔE00 4.86
Vomit Yellow
#C7C10C
ΔE00 4.88
Puke Yellow
#C2BE0E
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD28 #3428CD
analogous
#CD8728 #C1CD28 #6ECD28
triadic
#C1CD28 #28C1CD #CD28C1
tetradic
#C1CD28 #28CD87 #3428CD #CD286E
square
#C1CD28 #28CD87 #3428CD #CD286E
split-complementary
#C1CD28 #286ECD #8728CD
monochromatic
#616714 #919A1E #C1CD28 #D4DE54 #E1E888
Accessibility & contrast
On white
1.75
#C1CD28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#C1CD28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD28
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD28 | 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)
#DCC539
Tritanopia (blue-blind)
#CEC0AF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c1cd28; /* rgb */ color: rgb(193, 205, 40); /* oklch */ color: oklch(81.2% 0.173 114.0);
Tailwind
colors: {
custom: {
50: '#d8dc72',
500: '#c1cd28',
950: '#000000',
},
}SCSS
$custom: #c1cd28; $custom-light: #d8dc72; $custom-dark: #000000;
JSON
{
"hex": "#c1cd28",
"rgb": {
"r": 193,
"g": 205,
"b": 40
},
"hsl": {
"h": 64.364,
"s": 67.347,
"l": 48.039
},
"oklch": {
"l": 0.81234,
"c": 0.17277,
"h": 114
},
"luminance": 0.55153
}Semantic roles & 50–950 ramp
primary
#C1CD28
secondary
#2E2871
accent
#3EEA4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D