#C2CD51#C2CD51
#C2CD51 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.147 H 113.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CD51 |
|---|---|
| RGB | rgb(194, 205, 81) |
| HSL | hsl(65, 55%, 56%) |
| HSV | hsv(65, 60%, 80%) |
| CMYK | cmyk(5.4%, 0%, 60.5%, 19.6%) |
| CIE-LAB | lab(79.46, -20.13, 58.74) |
| CIE-LCH | lch(79.46, 62.09, 108.92°) |
| OKLab | oklab(81.6% -0.0598 0.1346) |
| OKLCH | oklch(81.6% 0.147 113.9) |
| XYZ | xyz(45.5657, 55.7269, 16.1390) |
| Luminance | 0.5573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.97
Baby Puke Green
#B6C406
ΔE00 4.98
Bile
#B5C306
ΔE00 5.07
Greenish Beige
#C9D179
ΔE00 5.12
Pea
#A4BF20
ΔE00 5.89
Snot
#ACBB0D
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CD51 #5C51CD
analogous
#CD9A51 #C2CD51 #84CD51
triadic
#C2CD51 #51C2CD #CD51C2
tetradic
#C2CD51 #51CD9A #5C51CD #CD5184
square
#C2CD51 #51CD9A #5C51CD #CD5184
split-complementary
#C2CD51 #5184CD #9A51CD
monochromatic
#777F25 #A4AF32 #C2CD51 #D3DB81 #E3E8B0
Accessibility & contrast
On white
1.73
#C2CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.15
#C2CD51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CD51
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CD51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CD51 | 1.00 | 1.73 | 12.15 | 12.15 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2cd51; /* rgb */ color: rgb(194, 205, 81); /* oklch */ color: oklch(81.6% 0.147 113.9);
Tailwind
colors: {
custom: {
50: '#d7dc87',
500: '#c2cd51',
950: '#000000',
},
}SCSS
$custom: #c2cd51; $custom-light: #d7dc87; $custom-dark: #000000;
JSON
{
"hex": "#c2cd51",
"rgb": {
"r": 194,
"g": 205,
"b": 81
},
"hsl": {
"h": 65.323,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.81597,
"c": 0.14726,
"h": 113.9
},
"luminance": 0.55726
}Semantic roles & 50–950 ramp
primary
#C2CD51
secondary
#423B87
accent
#49DF56
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F