#C2AA39#C2AA39
#C2AA39 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.132 H 96.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA39 |
|---|---|
| RGB | rgb(194, 170, 57) |
| HSL | hsl(49, 55%, 49%) |
| HSV | hsv(49, 71%, 76%) |
| CMYK | cmyk(0%, 12.4%, 70.6%, 23.9%) |
| CIE-LAB | lab(69.84, -3.71, 58.60) |
| CIE-LCH | lch(69.84, 58.72, 93.62°) |
| OKLab | oklab(73.87% -0.0158 0.1306) |
| OKLCH | oklch(73.87% 0.132 96.9) |
| XYZ | xyz(37.3632, 40.5161, 9.7225) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 4.15
Mustard (survey)
#CEB301
ΔE00 4.83
Ocher
#BF9B0C
ΔE00 5.42
Dark Yellow
#D5B60A
ΔE00 5.59
Mustard
#DBB42C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA39 #3951C2
analogous
#C26639 #C2AA39 #96C239
triadic
#C2AA39 #39C2AA #AA39C2
tetradic
#C2AA39 #39C266 #3951C2 #C23996
square
#C2AA39 #39C266 #3951C2 #C23996
split-complementary
#C2AA39 #3996C2 #6639C2
monochromatic
#63571D #93812B #C2AA39 #D2BF66 #E0D395
Accessibility & contrast
On white
2.31
#C2AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C2AA39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA39
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA39 | 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)
#BBA628
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa39; /* rgb */ color: rgb(194, 170, 57); /* oklch */ color: oklch(73.9% 0.132 96.9);
Tailwind
colors: {
custom: {
50: '#d8c276',
500: '#c2aa39',
950: '#000000',
},
}SCSS
$custom: #c2aa39; $custom-light: #d8c276; $custom-dark: #000000;
JSON
{
"hex": "#c2aa39",
"rgb": {
"r": 194,
"g": 170,
"b": 57
},
"hsl": {
"h": 49.489,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.73874,
"c": 0.13155,
"h": 96.9
},
"luminance": 0.40514
}Semantic roles & 50–950 ramp
primary
#C2AA39
secondary
#8B97CB
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B