#C2C162#C2C162
#C2C162 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.118 H 108.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C162 |
|---|---|
| RGB | rgb(194, 193, 98) |
| HSL | hsl(59, 44%, 57%) |
| HSV | hsv(59, 49%, 76%) |
| CMYK | cmyk(0%, 0.5%, 49.5%, 23.9%) |
| CIE-LAB | lab(76.37, -12.76, 47.49) |
| CIE-LCH | lch(76.37, 49.17, 105.04°) |
| OKLab | oklab(79.19% -0.0371 0.1123) |
| OKLCH | oklch(79.19% 0.118 108.3) |
| XYZ | xyz(43.5237, 50.4922, 19.0061) |
| Luminance | 0.5049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.88
Greenish Beige
#C9D179
ΔE00 4.66
Greenish Tan
#BCCB7A
ΔE00 5.54
Light Olive
#ACBF69
ΔE00 5.81
Light Olive Green
#A4BE5C
ΔE00 6.92
Tan Green
#A9BE70
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C162 #6263C2
analogous
#C29162 #C2C162 #93C262
triadic
#C2C162 #62C2C1 #C162C2
tetradic
#C2C162 #62C291 #6263C2 #C26293
square
#C2C162 #62C291 #6263C2 #C26293
split-complementary
#C2C162 #6293C2 #9162C2
monochromatic
#7A792F #A6A541 #C2C162 #D3D28E #E4E4BA
Accessibility & contrast
On white
1.89
#C2C162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.10
#C2C162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C162
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C162 | 1.00 | 1.89 | 11.10 | 11.10 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBA59
Deuteranopia (green-blind)
#D0BE67
Tritanopia (blue-blind)
#CEB7AB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #c2c162; /* rgb */ color: rgb(194, 193, 98); /* oklch */ color: oklch(79.2% 0.118 108.3);
Tailwind
colors: {
custom: {
50: '#d6d391',
500: '#c2c162',
950: '#000000',
},
}SCSS
$custom: #c2c162; $custom-light: #d6d391; $custom-dark: #000000;
JSON
{
"hex": "#c2c162",
"rgb": {
"r": 194,
"g": 193,
"b": 98
},
"hsl": {
"h": 59.375,
"s": 44.037,
"l": 57.255
},
"oklch": {
"l": 0.79186,
"c": 0.11827,
"h": 108.3
},
"luminance": 0.50491
}Semantic roles & 50–950 ramp
primary
#C2C162
secondary
#454683
accent
#55D454
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F