#C2AA37#C2AA37
#C2AA37 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.133 H 97.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA37 |
|---|---|
| RGB | rgb(194, 170, 55) |
| HSL | hsl(50, 56%, 49%) |
| HSV | hsv(50, 72%, 76%) |
| CMYK | cmyk(0%, 12.4%, 71.6%, 23.9%) |
| CIE-LAB | lab(69.82, -3.81, 59.37) |
| CIE-LCH | lch(69.82, 59.49, 93.67°) |
| OKLab | oklab(73.86% -0.0163 0.1319) |
| OKLCH | oklch(73.86% 0.133 97.1) |
| XYZ | xyz(37.3143, 40.4965, 9.4649) |
| Luminance | 0.4049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.57
Brownish Yellow
#C9B003
ΔE00 3.95
Mustard (survey)
#CEB301
ΔE00 4.65
Ocher
#BF9B0C
ΔE00 5.36
Dark Yellow
#D5B60A
ΔE00 5.45
Mustard
#DBB42C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA37 #374FC2
analogous
#C26537 #C2AA37 #95C237
triadic
#C2AA37 #37C2AA #AA37C2
tetradic
#C2AA37 #37C265 #374FC2 #C23795
square
#C2AA37 #37C265 #374FC2 #C23795
split-complementary
#C2AA37 #3795C2 #6537C2
monochromatic
#63561C #928029 #C2AA37 #D3C063 #E0D393
Accessibility & contrast
On white
2.31
#C2AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C2AA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA37
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA37 | 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)
#BBA625
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa37; /* rgb */ color: rgb(194, 170, 55); /* oklch */ color: oklch(73.9% 0.133 97.1);
Tailwind
colors: {
custom: {
50: '#d8c275',
500: '#c2aa37',
950: '#000000',
},
}SCSS
$custom: #c2aa37; $custom-light: #d8c275; $custom-dark: #000000;
JSON
{
"hex": "#c2aa37",
"rgb": {
"r": 194,
"g": 170,
"b": 55
},
"hsl": {
"h": 49.64,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.73858,
"c": 0.13287,
"h": 97.1
},
"luminance": 0.40495
}Semantic roles & 50–950 ramp
primary
#C2AA37
secondary
#8995CB
accent
#63DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B