#C2AA3A#C2AA3A
#C2AA3A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.131 H 96.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA3A |
|---|---|
| RGB | rgb(194, 170, 58) |
| HSL | hsl(49, 54%, 49%) |
| HSV | hsv(49, 70%, 76%) |
| CMYK | cmyk(0%, 12.4%, 70.1%, 23.9%) |
| CIE-LAB | lab(69.84, -3.66, 58.21) |
| CIE-LCH | lch(69.84, 58.32, 93.59°) |
| OKLab | oklab(73.88% -0.0156 0.1299) |
| OKLCH | oklch(73.88% 0.131 96.8) |
| XYZ | xyz(37.3884, 40.5262, 9.8551) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.88
Brownish Yellow
#C9B003
ΔE00 4.25
Mustard (survey)
#CEB301
ΔE00 4.92
Ocher
#BF9B0C
ΔE00 5.45
Mustard
#DBB42C
ΔE00 5.62
Dark Yellow
#D5B60A
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA3A #3A52C2
analogous
#C2663A #C2AA3A #96C23A
triadic
#C2AA3A #3AC2AA #AA3AC2
tetradic
#C2AA3A #3AC266 #3A52C2 #C23A96
square
#C2AA3A #3AC266 #3A52C2 #C23A96
split-complementary
#C2AA3A #3A96C2 #663AC2
monochromatic
#64571E #93812C #C2AA3A #D2BF67 #E0D397
Accessibility & contrast
On white
2.31
#C2AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C2AA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA3A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA3A | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa3a; /* rgb */ color: rgb(194, 170, 58); /* oklch */ color: oklch(73.9% 0.131 96.8);
Tailwind
colors: {
custom: {
50: '#d8c277',
500: '#c2aa3a',
950: '#000000',
},
}SCSS
$custom: #c2aa3a; $custom-light: #d8c277; $custom-dark: #000000;
JSON
{
"hex": "#c2aa3a",
"rgb": {
"r": 194,
"g": 170,
"b": 58
},
"hsl": {
"h": 49.412,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.73882,
"c": 0.13087,
"h": 96.8
},
"luminance": 0.40524
}Semantic roles & 50–950 ramp
primary
#C2AA3A
secondary
#8D98CB
accent
#64DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B