#C2C950#C2C950
#C2C950 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.144 H 112.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C950 |
|---|---|
| RGB | rgb(194, 201, 80) |
| HSL | hsl(63, 53%, 55%) |
| HSV | hsv(63, 60%, 79%) |
| CMYK | cmyk(3.5%, 0%, 60.2%, 21.2%) |
| CIE-LAB | lab(78.36, -18.22, 57.97) |
| CIE-LCH | lch(78.36, 60.77, 107.45°) |
| OKLab | oklab(80.71% -0.0545 0.1328) |
| OKLCH | oklch(80.71% 0.144 112.3) |
| XYZ | xyz(44.5839, 53.8227, 15.6281) |
| Luminance | 0.5382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.82
Bile
#B5C306
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 5.25
Green Yellow
#B5CE08
ΔE00 5.51
Snot
#ACBB0D
ΔE00 5.66
Puke Yellow
#C2BE0E
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C950 #5750C9
analogous
#C99350 #C2C950 #86C950
triadic
#C2C950 #50C2C9 #C950C2
tetradic
#C2C950 #50C993 #5750C9 #C95086
square
#C2C950 #50C993 #5750C9 #C95086
split-complementary
#C2C950 #5086C9 #9350C9
monochromatic
#747925 #A1A834 #C2C950 #D2D77F #E3E6AE
Accessibility & contrast
On white
1.79
#C2C950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#C2C950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C950
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C950 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#CEBEAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c2c950; /* rgb */ color: rgb(194, 201, 80); /* oklch */ color: oklch(80.7% 0.144 112.3);
Tailwind
colors: {
custom: {
50: '#d7d986',
500: '#c2c950',
950: '#000000',
},
}SCSS
$custom: #c2c950; $custom-light: #d7d986; $custom-dark: #000000;
JSON
{
"hex": "#c2c950",
"rgb": {
"r": 194,
"g": 201,
"b": 80
},
"hsl": {
"h": 63.471,
"s": 52.838,
"l": 55.098
},
"oklch": {
"l": 0.80714,
"c": 0.14357,
"h": 112.3
},
"luminance": 0.53822
}Semantic roles & 50–950 ramp
primary
#C2C950
secondary
#403C82
accent
#4CDC54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E