#C1CD2A#C1CD2A
#C1CD2A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.2% C 0.172 H 114.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CD2A |
|---|---|
| RGB | rgb(193, 205, 42) |
| HSL | hsl(64, 66%, 48%) |
| HSV | hsv(64, 80%, 80%) |
| CMYK | cmyk(5.9%, 0%, 79.5%, 19.6%) |
| CIE-LAB | lab(79.14, -22.58, 72.29) |
| CIE-LCH | lch(79.14, 75.74, 107.34°) |
| OKLab | oklab(81.24% -0.0701 0.157) |
| OKLCH | oklch(81.24% 0.172 114) |
| XYZ | xyz(44.2430, 55.1682, 10.5079) |
| Luminance | 0.5517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.55
Green Yellow
#B5CE08
ΔE00 2.62
Bile
#B5C306
ΔE00 2.78
Snot
#ACBB0D
ΔE00 4.86
Vomit Yellow
#C7C10C
ΔE00 4.93
Puke Yellow
#C2BE0E
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD2A #362ACD
analogous
#CD872A #C1CD2A #6FCD2A
triadic
#C1CD2A #2AC1CD #CD2AC1
tetradic
#C1CD2A #2ACD87 #362ACD #CD2A6F
square
#C1CD2A #2ACD87 #362ACD #CD2A6F
split-complementary
#C1CD2A #2A6FCD #872ACD
monochromatic
#616715 #919A20 #C1CD2A #D3DD58 #E0E78A
Accessibility & contrast
On white
1.75
#C1CD2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#C1CD2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD2A
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD2A | 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)
#DCC300
Deuteranopia (green-blind)
#DCC53A
Tritanopia (blue-blind)
#CEC0B0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c1cd2a; /* rgb */ color: rgb(193, 205, 42); /* oklch */ color: oklch(81.2% 0.172 114.0);
Tailwind
colors: {
custom: {
50: '#d8dc73',
500: '#c1cd2a',
950: '#000000',
},
}SCSS
$custom: #c1cd2a; $custom-light: #d8dc73; $custom-dark: #000000;
JSON
{
"hex": "#c1cd2a",
"rgb": {
"r": 193,
"g": 205,
"b": 42
},
"hsl": {
"h": 64.417,
"s": 65.992,
"l": 48.431
},
"oklch": {
"l": 0.81243,
"c": 0.17193,
"h": 114
},
"luminance": 0.55167
}Semantic roles & 50–950 ramp
primary
#C1CD2A
secondary
#2F2A71
accent
#3FE94B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D