#C2AA33#C2AA33
#C2AA33 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.135 H 97.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA33 |
|---|---|
| RGB | rgb(194, 170, 51) |
| HSL | hsl(50, 58%, 48%) |
| HSV | hsv(50, 74%, 76%) |
| CMYK | cmyk(0%, 12.4%, 73.7%, 23.9%) |
| CIE-LAB | lab(69.80, -4.00, 60.87) |
| CIE-LCH | lch(69.80, 61.00, 93.76°) |
| OKLab | oklab(73.83% -0.0173 0.1343) |
| OKLCH | oklch(73.83% 0.135 97.4) |
| XYZ | xyz(37.2223, 40.4597, 8.9802) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.20
Brownish Yellow
#C9B003
ΔE00 3.60
Mustard (survey)
#CEB301
ΔE00 4.34
Dark Yellow
#D5B60A
ΔE00 5.19
Ocher
#BF9B0C
ΔE00 5.26
Mustard
#DBB42C
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA33 #334BC2
analogous
#C26233 #C2AA33 #92C233
triadic
#C2AA33 #33C2AA #AA33C2
tetradic
#C2AA33 #33C262 #334BC2 #C23392
square
#C2AA33 #33C262 #334BC2 #C23392
split-complementary
#C2AA33 #3392C2 #6233C2
monochromatic
#61551A #928026 #C2AA33 #D5C15E #E1D38E
Accessibility & contrast
On white
2.31
#C2AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#C2AA33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA33
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA33 | 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)
#BBA61F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c2aa33; /* rgb */ color: rgb(194, 170, 51); /* oklch */ color: oklch(73.8% 0.135 97.4);
Tailwind
colors: {
custom: {
50: '#d8c273',
500: '#c2aa33',
950: '#000000',
},
}SCSS
$custom: #c2aa33; $custom-light: #d8c273; $custom-dark: #000000;
JSON
{
"hex": "#c2aa33",
"rgb": {
"r": 194,
"g": 170,
"b": 51
},
"hsl": {
"h": 49.93,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.73829,
"c": 0.13538,
"h": 97.4
},
"luminance": 0.40458
}Semantic roles & 50–950 ramp
primary
#C2AA33
secondary
#8591CC
accent
#60E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B