#A2A545#A2A545
#A2A545 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.119 H 110.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A545 |
|---|---|
| RGB | rgb(162, 165, 69) |
| HSL | hsl(62, 41%, 46%) |
| HSV | hsv(62, 58%, 65%) |
| CMYK | cmyk(1.8%, 0%, 58.2%, 35.3%) |
| CIE-LAB | lab(65.77, -14.17, 48.28) |
| CIE-LCH | lch(65.77, 50.32, 106.36°) |
| OKLab | oklab(70% -0.0423 0.1115) |
| OKLCH | oklch(70% 0.119 110.8) |
| XYZ | xyz(29.4304, 35.0220, 10.8387) |
| Luminance | 0.3502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.72
Khaki (survey)
#AAA662
ΔE00 4.92
Pea Soup Green
#94A617
ΔE00 5.22
Puke
#A5A502
ΔE00 5.64
Pea Soup
#929901
ΔE00 6.13
Baby Poop Green
#8F9805
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A545 #4845A5
analogous
#A57845 #A2A545 #72A545
triadic
#A2A545 #45A2A5 #A545A2
tetradic
#A2A545 #45A578 #4845A5 #A54572
square
#A2A545 #45A578 #4845A5 #A54572
split-complementary
#A2A545 #4572A5 #7845A5
monochromatic
#4D4F21 #787A33 #A2A545 #BDC068 #D0D293
Accessibility & contrast
On white
2.62
#A2A545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A2A545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A545
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A545 | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E3B
Deuteranopia (green-blind)
#B2A14B
Tritanopia (blue-blind)
#AC9C90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a545; /* rgb */ color: rgb(162, 165, 69); /* oklch */ color: oklch(70.0% 0.119 110.8);
Tailwind
colors: {
custom: {
50: '#c0bf7c',
500: '#a2a545',
950: '#000000',
},
}SCSS
$custom: #a2a545; $custom-light: #c0bf7c; $custom-dark: #000000;
JSON
{
"hex": "#a2a545",
"rgb": {
"r": 162,
"g": 165,
"b": 69
},
"hsl": {
"h": 61.875,
"s": 41.026,
"l": 45.882
},
"oklch": {
"l": 0.69997,
"c": 0.11924,
"h": 110.8
},
"luminance": 0.35021
}Semantic roles & 50–950 ramp
primary
#A2A545
secondary
#8A88BD
accent
#57D15B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C