#C2CD40#C2CD40
#C2CD40 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.160 H 113.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CD40 |
|---|---|
| RGB | rgb(194, 205, 64) |
| HSL | hsl(65, 59%, 53%) |
| HSV | hsv(65, 69%, 80%) |
| CMYK | cmyk(5.4%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(79.33, -21.19, 65.40) |
| CIE-LCH | lch(79.33, 68.75, 107.95°) |
| OKLab | oklab(81.45% -0.0644 0.1461) |
| OKLCH | oklch(81.45% 0.16 113.8) |
| XYZ | xyz(45.0061, 55.5030, 13.1918) |
| Luminance | 0.5550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.54
Green Yellow
#B5CE08
ΔE00 3.59
Bile
#B5C306
ΔE00 3.69
Snot
#ACBB0D
ΔE00 5.23
Pea
#A4BF20
ΔE00 5.48
Puke Yellow
#C2BE0E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CD40 #4B40CD
analogous
#CD9240 #C2CD40 #7BCD40
triadic
#C2CD40 #40C2CD #CD40C2
tetradic
#C2CD40 #40CD92 #4B40CD #CD407B
square
#C2CD40 #40CD92 #4B40CD #CD407B
split-complementary
#C2CD40 #407BCD #9240CD
monochromatic
#6D741E #9BA52B #C2CD40 #D1DA71 #E1E6A1
Accessibility & contrast
On white
1.74
#C2CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#C2CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CD40
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CD40 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c2cd40; /* rgb */ color: rgb(194, 205, 64); /* oklch */ color: oklch(81.5% 0.160 113.8);
Tailwind
colors: {
custom: {
50: '#d8dc7d',
500: '#c2cd40',
950: '#000000',
},
}SCSS
$custom: #c2cd40; $custom-light: #d8dc7d; $custom-dark: #000000;
JSON
{
"hex": "#c2cd40",
"rgb": {
"r": 194,
"g": 205,
"b": 64
},
"hsl": {
"h": 64.681,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.81453,
"c": 0.1597,
"h": 113.8
},
"luminance": 0.55502
}Semantic roles & 50–950 ramp
primary
#C2CD40
secondary
#3A347D
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D