#C2AA52#C2AA52
#C2AA52 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.112 H 94.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA52 |
|---|---|
| RGB | rgb(194, 170, 82) |
| HSL | hsl(47, 48%, 54%) |
| HSV | hsv(47, 58%, 76%) |
| CMYK | cmyk(0%, 12.4%, 57.7%, 23.9%) |
| CIE-LAB | lab(70.06, -2.12, 47.78) |
| CIE-LCH | lch(70.06, 47.83, 92.53°) |
| OKLab | oklab(74.12% -0.0083 0.1113) |
| OKLCH | oklch(74.12% 0.112 94.3) |
| XYZ | xyz(38.1474, 40.8298, 13.8526) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.34
Sandy Brown
#C4A661
ΔE00 4.15
Tan (survey)
#D1B26F
ΔE00 5.47
Sandstone
#C9AE74
ΔE00 6.09
Sand Brown
#CBA560
ΔE00 6.10
Darkkhaki
#BDB76B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA52 #526AC2
analogous
#C27252 #C2AA52 #A2C252
triadic
#C2AA52 #52C2AA #AA52C2
tetradic
#C2AA52 #52C272 #526AC2 #C252A2
square
#C2AA52 #52C272 #526AC2 #C252A2
split-complementary
#C2AA52 #52A2C2 #7252C2
monochromatic
#726228 #9F8938 #C2AA52 #D2C07F #E2D6AC
Accessibility & contrast
On white
2.29
#C2AA52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C2AA52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA52
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA52 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A749
Deuteranopia (green-blind)
#C0AE56
Tritanopia (blue-blind)
#D09F96
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa52; /* rgb */ color: rgb(194, 170, 82); /* oklch */ color: oklch(74.1% 0.112 94.3);
Tailwind
colors: {
custom: {
50: '#d7c385',
500: '#c2aa52',
950: '#000000',
},
}SCSS
$custom: #c2aa52; $custom-light: #d7c385; $custom-dark: #000000;
JSON
{
"hex": "#c2aa52",
"rgb": {
"r": 194,
"g": 170,
"b": 82
},
"hsl": {
"h": 47.143,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.74119,
"c": 0.11162,
"h": 94.3
},
"luminance": 0.40828
}Semantic roles & 50–950 ramp
primary
#C2AA52
secondary
#A0AAD0
accent
#6DD750
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C