#C2AA34#C2AA34
#C2AA34 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.135 H 97.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA34 |
|---|---|
| RGB | rgb(194, 170, 52) |
| HSL | hsl(50, 58%, 48%) |
| HSV | hsv(50, 73%, 76%) |
| CMYK | cmyk(0%, 12.4%, 73.2%, 23.9%) |
| CIE-LAB | lab(69.80, -3.95, 60.50) |
| CIE-LCH | lch(69.80, 60.63, 93.74°) |
| OKLab | oklab(73.84% -0.0171 0.1337) |
| OKLCH | oklch(73.84% 0.135 97.3) |
| XYZ | xyz(37.2446, 40.4686, 9.0976) |
| Luminance | 0.4047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.29
Brownish Yellow
#C9B003
ΔE00 3.68
Mustard (survey)
#CEB301
ΔE00 4.41
Dark Yellow
#D5B60A
ΔE00 5.25
Ocher
#BF9B0C
ΔE00 5.28
Mustard
#DBB42C
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA34 #344CC2
analogous
#C26334 #C2AA34 #93C234
triadic
#C2AA34 #34C2AA #AA34C2
tetradic
#C2AA34 #34C263 #344CC2 #C23493
square
#C2AA34 #34C263 #344CC2 #C23493
split-complementary
#C2AA34 #3493C2 #6334C2
monochromatic
#61551A #928027 #C2AA34 #D4C05F #E1D38F
Accessibility & contrast
On white
2.31
#C2AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#C2AA34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA34
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA34 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa34; /* rgb */ color: rgb(194, 170, 52); /* oklch */ color: oklch(73.8% 0.135 97.3);
Tailwind
colors: {
custom: {
50: '#d8c273',
500: '#c2aa34',
950: '#000000',
},
}SCSS
$custom: #c2aa34; $custom-light: #d8c273; $custom-dark: #000000;
JSON
{
"hex": "#c2aa34",
"rgb": {
"r": 194,
"g": 170,
"b": 52
},
"hsl": {
"h": 49.859,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.73836,
"c": 0.13478,
"h": 97.3
},
"luminance": 0.40467
}Semantic roles & 50–950 ramp
primary
#C2AA34
secondary
#8692CC
accent
#61E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B