#A5A82B#A5A82B
#A5A82B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.141 H 110.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A82B |
|---|---|
| RGB | rgb(165, 168, 43) |
| HSL | hsl(61, 59%, 41%) |
| HSV | hsv(61, 74%, 66%) |
| CMYK | cmyk(1.8%, 0%, 74.4%, 34.1%) |
| CIE-LAB | lab(66.66, -16.01, 59.84) |
| CIE-LCH | lch(66.66, 61.95, 104.98°) |
| OKLab | oklab(70.71% -0.0503 0.1317) |
| OKLCH | oklch(70.71% 0.141 110.9) |
| XYZ | xyz(29.9568, 36.1798, 7.6904) |
| Luminance | 0.3618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.80
Puke
#A5A502
ΔE00 2.51
Pea Soup Green
#94A617
ΔE00 3.81
Puke Green
#9AAE07
ΔE00 4.16
Mustard Green
#A8B504
ΔE00 4.59
Barf Green
#94AC02
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A82B #2E2BA8
analogous
#A86D2B #A5A82B #67A82B
triadic
#A5A82B #2BA5A8 #A82BA5
tetradic
#A5A82B #2BA86D #2E2BA8 #A82B67
square
#A5A82B #2BA86D #2E2BA8 #A82B67
split-complementary
#A5A82B #2B67A8 #6D2BA8
monochromatic
#454712 #75771F #A5A82B #CBCF42 #D9DB72
Accessibility & contrast
On white
2.55
#A5A82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A5A82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A82B
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A82B | 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)
#B5A010
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a82b; /* rgb */ color: rgb(165, 168, 43); /* oklch */ color: oklch(70.7% 0.141 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16e',
500: '#a5a82b',
950: '#000000',
},
}SCSS
$custom: #a5a82b; $custom-light: #c3c16e; $custom-dark: #000000;
JSON
{
"hex": "#a5a82b",
"rgb": {
"r": 165,
"g": 168,
"b": 43
},
"hsl": {
"h": 61.44,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.70707,
"c": 0.141,
"h": 110.9
},
"luminance": 0.36179
}Semantic roles & 50–950 ramp
primary
#A5A82B
secondary
#6F6CC2
accent
#45E249
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B