#C2AA3E#C2AA3E
#C2AA3E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.128 H 96.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA3E |
|---|---|
| RGB | rgb(194, 170, 62) |
| HSL | hsl(49, 52%, 50%) |
| HSV | hsv(49, 68%, 76%) |
| CMYK | cmyk(0%, 12.4%, 68%, 23.9%) |
| CIE-LAB | lab(69.87, -3.44, 56.60) |
| CIE-LCH | lch(69.87, 56.70, 93.48°) |
| OKLab | oklab(73.91% -0.0145 0.1272) |
| OKLCH | oklch(73.91% 0.128 96.5) |
| XYZ | xyz(37.4941, 40.5685, 10.4121) |
| Luminance | 0.4057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.31
Brownish Yellow
#C9B003
ΔE00 4.66
Mustard (survey)
#CEB301
ΔE00 5.29
Desert
#CCAD60
ΔE00 5.52
Ocher
#BF9B0C
ΔE00 5.61
Mustard
#DBB42C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA3E #3E56C2
analogous
#C2683E #C2AA3E #98C23E
triadic
#C2AA3E #3EC2AA #AA3EC2
tetradic
#C2AA3E #3EC268 #3E56C2 #C23E98
square
#C2AA3E #3EC268 #3E56C2 #C23E98
split-complementary
#C2AA3E #3E98C2 #683EC2
monochromatic
#665920 #94822F #C2AA3E #D1BE6D #DFD39B
Accessibility & contrast
On white
2.30
#C2AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#C2AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA3E
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA3E | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA630
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#D19D94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa3e; /* rgb */ color: rgb(194, 170, 62); /* oklch */ color: oklch(73.9% 0.128 96.5);
Tailwind
colors: {
custom: {
50: '#d8c379',
500: '#c2aa3e',
950: '#000000',
},
}SCSS
$custom: #c2aa3e; $custom-light: #d8c379; $custom-dark: #000000;
JSON
{
"hex": "#c2aa3e",
"rgb": {
"r": 194,
"g": 170,
"b": 62
},
"hsl": {
"h": 49.091,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.73915,
"c": 0.12805,
"h": 96.5
},
"luminance": 0.40567
}Semantic roles & 50–950 ramp
primary
#C2AA3E
secondary
#909BCB
accent
#66DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B