#C2AA2E#C2AA2E
#C2AA2E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.138 H 97.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA2E |
|---|---|
| RGB | rgb(194, 170, 46) |
| HSL | hsl(50, 62%, 47%) |
| HSV | hsv(50, 76%, 76%) |
| CMYK | cmyk(0%, 12.4%, 76.3%, 23.9%) |
| CIE-LAB | lab(69.77, -4.21, 62.63) |
| CIE-LCH | lch(69.77, 62.77, 93.85°) |
| OKLab | oklab(73.8% -0.0184 0.1371) |
| OKLCH | oklch(73.8% 0.138 97.7) |
| XYZ | xyz(37.1179, 40.4180, 8.4306) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.77
Brownish Yellow
#C9B003
ΔE00 3.19
Mustard (survey)
#CEB301
ΔE00 3.99
Dark Yellow
#D5B60A
ΔE00 4.92
Ocher
#BF9B0C
ΔE00 5.18
Burnt Yellow
#D5AB09
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA2E #2E46C2
analogous
#C2602E #C2AA2E #90C22E
triadic
#C2AA2E #2EC2AA #AA2EC2
tetradic
#C2AA2E #2EC260 #2E46C2 #C22E90
square
#C2AA2E #2EC260 #2E46C2 #C22E90
split-complementary
#C2AA2E #2E90C2 #602EC2
monochromatic
#5F5317 #917F22 #C2AA2E #D7C256 #E3D488
Accessibility & contrast
On white
2.31
#C2AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#C2AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA2E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA2E | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA615
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#D29D92
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c2aa2e; /* rgb */ color: rgb(194, 170, 46); /* oklch */ color: oklch(73.8% 0.138 97.7);
Tailwind
colors: {
custom: {
50: '#d9c270',
500: '#c2aa2e',
950: '#000000',
},
}SCSS
$custom: #c2aa2e; $custom-light: #d9c270; $custom-dark: #000000;
JSON
{
"hex": "#c2aa2e",
"rgb": {
"r": 194,
"g": 170,
"b": 46
},
"hsl": {
"h": 50.27,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.73797,
"c": 0.13828,
"h": 97.7
},
"luminance": 0.40416
}Semantic roles & 50–950 ramp
primary
#C2AA2E
secondary
#7F8CCC
accent
#5DE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B