#A5A82E#A5A82E
#A5A82E is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.139 H 110.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A82E |
|---|---|
| RGB | rgb(165, 168, 46) |
| HSL | hsl(61, 57%, 42%) |
| HSV | hsv(61, 73%, 66%) |
| CMYK | cmyk(1.8%, 0%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.67, -15.87, 58.81) |
| CIE-LCH | lch(66.67, 60.91, 105.10°) |
| OKLab | oklab(70.73% -0.0497 0.1301) |
| OKLCH | oklch(70.73% 0.139 110.9) |
| XYZ | xyz(30.0138, 36.2027, 7.9910) |
| Luminance | 0.3620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.03
Puke
#A5A502
ΔE00 2.77
Pea Soup Green
#94A617
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 4.27
Mustard Green
#A8B504
ΔE00 4.74
Barf Green
#94AC02
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A82E #312EA8
analogous
#A86E2E #A5A82E #68A82E
triadic
#A5A82E #2EA5A8 #A82EA5
tetradic
#A5A82E #2EA86E #312EA8 #A82E68
square
#A5A82E #2EA86E #312EA8 #A82E68
split-complementary
#A5A82E #2E68A8 #6E2EA8
monochromatic
#474814 #767821 #A5A82E #C9CD47 #D7DA77
Accessibility & contrast
On white
2.55
#A5A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A5A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A82E
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A82E | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a82e; /* rgb */ color: rgb(165, 168, 46); /* oklch */ color: oklch(70.7% 0.139 110.9);
Tailwind
colors: {
custom: {
50: '#c3c170',
500: '#a5a82e',
950: '#000000',
},
}SCSS
$custom: #a5a82e; $custom-light: #c3c170; $custom-dark: #000000;
JSON
{
"hex": "#a5a82e",
"rgb": {
"r": 165,
"g": 168,
"b": 46
},
"hsl": {
"h": 61.475,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70726,
"c": 0.13922,
"h": 110.9
},
"luminance": 0.36202
}Semantic roles & 50–950 ramp
primary
#A5A82E
secondary
#7270C2
accent
#48E04B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B