#A5AA2B#A5AA2B
#A5AA2B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.143 H 111.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA2B |
|---|---|
| RGB | rgb(165, 170, 43) |
| HSL | hsl(62, 60%, 42%) |
| HSV | hsv(62, 75%, 67%) |
| CMYK | cmyk(2.9%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(67.22, -17.04, 60.37) |
| CIE-LCH | lch(67.22, 62.73, 105.76°) |
| OKLab | oklab(71.16% -0.0532 0.1328) |
| OKLCH | oklch(71.16% 0.143 111.8) |
| XYZ | xyz(30.3288, 36.9240, 7.8144) |
| Luminance | 0.3692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.23
Puke
#A5A502
ΔE00 2.85
Pea Soup Green
#94A617
ΔE00 3.59
Puke Green
#9AAE07
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 4.01
Barf Green
#94AC02
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA2B #302BAA
analogous
#AA702B #A5AA2B #66AA2B
triadic
#A5AA2B #2BA5AA #AA2BA5
tetradic
#A5AA2B #2BAA70 #302BAA #AA2B66
square
#A5AA2B #2BAA70 #302BAA #AA2B66
split-complementary
#A5AA2B #2B66AA #702BAA
monochromatic
#464812 #76791F #A5AA2B #CACF43 #D8DC74
Accessibility & contrast
On white
2.50
#A5AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A5AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA2B
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA2B | 1.00 | 2.50 | 8.38 | 8.38 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5aa2b; /* rgb */ color: rgb(165, 170, 43); /* oklch */ color: oklch(71.2% 0.143 111.8);
Tailwind
colors: {
custom: {
50: '#c3c36e',
500: '#a5aa2b',
950: '#000000',
},
}SCSS
$custom: #a5aa2b; $custom-light: #c3c36e; $custom-dark: #000000;
JSON
{
"hex": "#a5aa2b",
"rgb": {
"r": 165,
"g": 170,
"b": 43
},
"hsl": {
"h": 62.362,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.71157,
"c": 0.14308,
"h": 111.8
},
"luminance": 0.36923
}Semantic roles & 50–950 ramp
primary
#A5AA2B
secondary
#716EC3
accent
#45E34B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B