#C2A857#C2A857
#C2A857 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.8% C 0.105 H 91.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A857 |
|---|---|
| RGB | rgb(194, 168, 87) |
| HSL | hsl(45, 47%, 55%) |
| HSV | hsv(45, 55%, 76%) |
| CMYK | cmyk(0%, 13.4%, 55.2%, 23.9%) |
| CIE-LAB | lab(69.59, -0.65, 44.81) |
| CIE-LCH | lch(69.59, 44.81, 90.84°) |
| OKLab | oklab(73.77% -0.0035 0.1054) |
| OKLCH | oklch(73.77% 0.105 91.9) |
| XYZ | xyz(37.9726, 40.1645, 14.7674) |
| Luminance | 0.4016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.50
Sandy Brown
#C4A661
ΔE00 2.76
Tan (survey)
#D1B26F
ΔE00 4.62
Sand Brown
#CBA560
ΔE00 4.81
Sandstone
#C9AE74
ΔE00 5.00
Camel (survey)
#C69F59
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A857 #5771C2
analogous
#C27357 #C2A857 #A6C257
triadic
#C2A857 #57C2A8 #A857C2
tetradic
#C2A857 #57C273 #5771C2 #C257A6
square
#C2A857 #57C273 #5771C2 #C257A6
split-complementary
#C2A857 #57A6C2 #7357C2
monochromatic
#74622A #A1883B #C2A857 #D2BF84 #E3D7B1
Accessibility & contrast
On white
2.32
#C2A857 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#C2A857 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A857
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A857 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A857 | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A650
Deuteranopia (green-blind)
#BEAD5A
Tritanopia (blue-blind)
#D09D95
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c2a857; /* rgb */ color: rgb(194, 168, 87); /* oklch */ color: oklch(73.8% 0.105 91.9);
Tailwind
colors: {
custom: {
50: '#d7c188',
500: '#c2a857',
950: '#000000',
},
}SCSS
$custom: #c2a857; $custom-light: #d7c188; $custom-dark: #000000;
JSON
{
"hex": "#c2a857",
"rgb": {
"r": 194,
"g": 168,
"b": 87
},
"hsl": {
"h": 45.421,
"s": 46.725,
"l": 55.098
},
"oklch": {
"l": 0.73766,
"c": 0.10547,
"h": 91.9
},
"luminance": 0.40163
}Semantic roles & 50–950 ramp
primary
#C2A857
secondary
#A4AFD1
accent
#72D651
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D