#C1CD40#C1CD40
#C1CD40 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.160 H 114.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CD40 |
|---|---|
| RGB | rgb(193, 205, 64) |
| HSL | hsl(65, 59%, 53%) |
| HSV | hsv(65, 69%, 80%) |
| CMYK | cmyk(5.9%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(79.25, -21.60, 65.30) |
| CIE-LCH | lch(79.25, 68.78, 108.31°) |
| OKLab | oklab(81.37% -0.0655 0.146) |
| OKLCH | oklch(81.37% 0.16 114.2) |
| XYZ | xyz(44.7503, 55.3711, 13.1798) |
| Luminance | 0.5537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.48
Baby Puke Green
#B6C406
ΔE00 3.53
Bile
#B5C306
ΔE00 3.68
Snot
#ACBB0D
ΔE00 5.19
Pea
#A4BF20
ΔE00 5.32
Puke Yellow
#C2BE0E
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD40 #4C40CD
analogous
#CD9240 #C1CD40 #7BCD40
triadic
#C1CD40 #40C1CD #CD40C1
tetradic
#C1CD40 #40CD92 #4C40CD #CD407B
square
#C1CD40 #40CD92 #4C40CD #CD407B
split-complementary
#C1CD40 #407BCD #9240CD
monochromatic
#6D741E #9AA52B #C1CD40 #D1DA71 #E0E6A1
Accessibility & contrast
On white
1.74
#C1CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.07
#C1CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD40
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD40 | 1.00 | 1.74 | 12.07 | 12.07 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#CDC1B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c1cd40; /* rgb */ color: rgb(193, 205, 64); /* oklch */ color: oklch(81.4% 0.160 114.2);
Tailwind
colors: {
custom: {
50: '#d7dc7d',
500: '#c1cd40',
950: '#000000',
},
}SCSS
$custom: #c1cd40; $custom-light: #d7dc7d; $custom-dark: #000000;
JSON
{
"hex": "#c1cd40",
"rgb": {
"r": 193,
"g": 205,
"b": 64
},
"hsl": {
"h": 65.106,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.81374,
"c": 0.15998,
"h": 114.2
},
"luminance": 0.5537
}Semantic roles & 50–950 ramp
primary
#C1CD40
secondary
#3A347D
accent
#46E253
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D