#C2C862#C2C862
#C2C862 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.126 H 111.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C862 |
|---|---|
| RGB | rgb(194, 200, 98) |
| HSL | hsl(64, 48%, 58%) |
| HSV | hsv(64, 51%, 78%) |
| CMYK | cmyk(3%, 0%, 51%, 21.6%) |
| CIE-LAB | lab(78.26, -16.30, 49.72) |
| CIE-LCH | lch(78.26, 52.33, 108.15°) |
| OKLab | oklab(80.69% -0.0472 0.1172) |
| OKLCH | oklch(80.69% 0.126 111.9) |
| XYZ | xyz(45.1079, 53.6606, 19.5342) |
| Luminance | 0.5366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.30
Greenish Tan
#BCCB7A
ΔE00 4.52
Light Olive
#ACBF69
ΔE00 5.32
Darkkhaki
#BDB76B
ΔE00 6.00
Light Olive Green
#A4BE5C
ΔE00 6.10
Pale Olive
#B9CC81
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C862 #6862C8
analogous
#C89B62 #C2C862 #8FC862
triadic
#C2C862 #62C2C8 #C862C2
tetradic
#C2C862 #62C89B #6862C8 #C8628F
square
#C2C862 #62C89B #6862C8 #C8628F
split-complementary
#C2C862 #628FC8 #9B62C8
monochromatic
#7D822E #A9AF3D #C2C862 #D4D88F #E5E8BD
Accessibility & contrast
On white
1.79
#C2C862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#C2C862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C862
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C862 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C058
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#CDBEB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c2c862; /* rgb */ color: rgb(194, 200, 98); /* oklch */ color: oklch(80.7% 0.126 111.9);
Tailwind
colors: {
custom: {
50: '#d6d891',
500: '#c2c862',
950: '#000000',
},
}SCSS
$custom: #c2c862; $custom-light: #d6d891; $custom-dark: #000000;
JSON
{
"hex": "#c2c862",
"rgb": {
"r": 194,
"g": 200,
"b": 98
},
"hsl": {
"h": 63.529,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.80695,
"c": 0.12631,
"h": 111.9
},
"luminance": 0.5366
}Semantic roles & 50–950 ramp
primary
#C2C862
secondary
#48448A
accent
#50D858
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F