#A5A82A#A5A82A
#A5A82A is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.142 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A82A |
|---|---|
| RGB | rgb(165, 168, 42) |
| HSL | hsl(61, 60%, 41%) |
| HSV | hsv(61, 75%, 66%) |
| CMYK | cmyk(1.8%, 0%, 75%, 34.1%) |
| CIE-LAB | lab(66.65, -16.06, 60.17) |
| CIE-LCH | lch(66.65, 62.28, 104.94°) |
| OKLab | oklab(70.7% -0.0505 0.1322) |
| OKLCH | oklch(70.7% 0.142 110.9) |
| XYZ | xyz(29.9386, 36.1726, 7.5950) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.73
Puke
#A5A502
ΔE00 2.43
Pea Soup Green
#94A617
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.13
Mustard Green
#A8B504
ΔE00 4.54
Barf Green
#94AC02
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A82A #2D2AA8
analogous
#A86C2A #A5A82A #66A82A
triadic
#A5A82A #2AA5A8 #A82AA5
tetradic
#A5A82A #2AA86C #2D2AA8 #A82A66
square
#A5A82A #2AA86C #2D2AA8 #A82A66
split-complementary
#A5A82A #2A66A8 #6C2AA8
monochromatic
#454612 #75771E #A5A82A #CCCF40 #D9DB71
Accessibility & contrast
On white
2.55
#A5A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A5A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A82A
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A82A | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00D
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a82a; /* rgb */ color: rgb(165, 168, 42); /* oklch */ color: oklch(70.7% 0.142 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16e',
500: '#a5a82a',
950: '#000000',
},
}SCSS
$custom: #a5a82a; $custom-light: #c3c16e; $custom-dark: #000000;
JSON
{
"hex": "#a5a82a",
"rgb": {
"r": 165,
"g": 168,
"b": 42
},
"hsl": {
"h": 61.429,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.70701,
"c": 0.14156,
"h": 110.9
},
"luminance": 0.36172
}Semantic roles & 50–950 ramp
primary
#A5A82A
secondary
#6D6BC3
accent
#45E348
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B