#C2C960#C2C960
#C2C960 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.129 H 112.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C960 |
|---|---|
| RGB | rgb(194, 201, 96) |
| HSL | hsl(64, 49%, 58%) |
| HSV | hsv(64, 52%, 79%) |
| CMYK | cmyk(3.5%, 0%, 52.2%, 21.2%) |
| CIE-LAB | lab(78.51, -16.97, 50.96) |
| CIE-LCH | lch(78.51, 53.71, 108.42°) |
| OKLab | oklab(80.89% -0.0493 0.1197) |
| OKLCH | oklch(80.89% 0.129 112.4) |
| XYZ | xyz(45.2470, 54.0880, 19.1205) |
| Luminance | 0.5409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.43
Greenish Tan
#BCCB7A
ΔE00 4.72
Light Olive
#ACBF69
ΔE00 5.50
Light Olive Green
#A4BE5C
ΔE00 6.13
Pale Olive
#B9CC81
ΔE00 6.36
Darkkhaki
#BDB76B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C960 #6760C9
analogous
#C99B60 #C2C960 #8DC960
triadic
#C2C960 #60C2C9 #C960C2
tetradic
#C2C960 #60C99B #6760C9 #C9608D
square
#C2C960 #60C99B #6760C9 #C9608D
split-complementary
#C2C960 #608DC9 #9B60C9
monochromatic
#7D822C #A8B03C #C2C960 #D4D98E #E5E8BB
Accessibility & contrast
On white
1.78
#C2C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#C2C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C960
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C960 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#CDBFB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c2c960; /* rgb */ color: rgb(194, 201, 96); /* oklch */ color: oklch(80.9% 0.129 112.4);
Tailwind
colors: {
custom: {
50: '#d6d990',
500: '#c2c960',
950: '#000000',
},
}SCSS
$custom: #c2c960; $custom-light: #d6d990; $custom-dark: #000000;
JSON
{
"hex": "#c2c960",
"rgb": {
"r": 194,
"g": 201,
"b": 96
},
"hsl": {
"h": 64,
"s": 49.296,
"l": 58.235
},
"oklch": {
"l": 0.80888,
"c": 0.1294,
"h": 112.4
},
"luminance": 0.54087
}Semantic roles & 50–950 ramp
primary
#C2C960
secondary
#48438A
accent
#4FD958
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F