#C2AA42#C2AA42
#C2AA42 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.125 H 96.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA42 |
|---|---|
| RGB | rgb(194, 170, 66) |
| HSL | hsl(49, 51%, 51%) |
| HSV | hsv(49, 66%, 76%) |
| CMYK | cmyk(0%, 12.4%, 66%, 23.9%) |
| CIE-LAB | lab(69.90, -3.21, 54.93) |
| CIE-LCH | lch(69.90, 55.02, 93.34°) |
| OKLab | oklab(73.95% -0.0134 0.1244) |
| OKLCH | oklch(73.95% 0.125 96.1) |
| XYZ | xyz(37.6080, 40.6140, 11.0116) |
| Luminance | 0.4061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.78
Desert
#CCAD60
ΔE00 5.10
Brownish Yellow
#C9B003
ΔE00 5.11
Mustard (survey)
#CEB301
ΔE00 5.71
Ocher
#BF9B0C
ΔE00 5.82
Mustard
#DBB42C
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA42 #425AC2
analogous
#C26A42 #C2AA42 #9AC242
triadic
#C2AA42 #42C2AA #AA42C2
tetradic
#C2AA42 #42C26A #425AC2 #C2429A
square
#C2AA42 #42C26A #425AC2 #C2429A
split-complementary
#C2AA42 #429AC2 #6A42C2
monochromatic
#685B22 #968331 #C2AA42 #D1BF70 #E0D49F
Accessibility & contrast
On white
2.30
#C2AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#C2AA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA42
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA42 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa42; /* rgb */ color: rgb(194, 170, 66); /* oklch */ color: oklch(74.0% 0.125 96.1);
Tailwind
colors: {
custom: {
50: '#d8c37b',
500: '#c2aa42',
950: '#000000',
},
}SCSS
$custom: #c2aa42; $custom-light: #d8c37b; $custom-dark: #000000;
JSON
{
"hex": "#c2aa42",
"rgb": {
"r": 194,
"g": 170,
"b": 66
},
"hsl": {
"h": 48.75,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.73951,
"c": 0.12508,
"h": 96.1
},
"luminance": 0.40612
}Semantic roles & 50–950 ramp
primary
#C2AA42
secondary
#949ECC
accent
#68DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C