#A5B82A#A5B82A
#A5B82A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.159 H 117.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B82A |
|---|---|
| RGB | rgb(165, 184, 42) |
| HSL | hsl(68, 63%, 44%) |
| HSV | hsv(68, 77%, 72%) |
| CMYK | cmyk(10.3%, 0%, 77.2%, 27.8%) |
| CIE-LAB | lab(71.18, -24.08, 64.36) |
| CIE-LCH | lch(71.18, 68.72, 110.51°) |
| OKLab | oklab(74.33% -0.0728 0.1411) |
| OKLCH | oklch(74.33% 0.159 117.3) |
| XYZ | xyz(33.0763, 42.4479, 8.6408) |
| Luminance | 0.4245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.99
Pea
#A4BF20
ΔE00 2.26
Snot
#ACBB0D
ΔE00 2.51
Mustard Green
#A8B504
ΔE00 2.57
Bright Olive
#9CBB04
ΔE00 2.59
Gross Green
#A0BF16
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B82A #3D2AB8
analogous
#B8842A #A5B82A #5EB82A
triadic
#A5B82A #2AA5B8 #B82AA5
tetradic
#A5B82A #2AB884 #3D2AB8 #B82A5E
square
#A5B82A #2AB884 #3D2AB8 #B82A5E
split-complementary
#A5B82A #2A5EB8 #842AB8
monochromatic
#4C5413 #78861F #A5B82A #C3D64A #D3E17B
Accessibility & contrast
On white
2.21
#A5B82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#A5B82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B82A
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B82A | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#B0AD9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b82a; /* rgb */ color: rgb(165, 184, 42); /* oklch */ color: oklch(74.3% 0.159 117.3);
Tailwind
colors: {
custom: {
50: '#c3cd70',
500: '#a5b82a',
950: '#000000',
},
}SCSS
$custom: #a5b82a; $custom-light: #c3cd70; $custom-dark: #000000;
JSON
{
"hex": "#a5b82a",
"rgb": {
"r": 165,
"g": 184,
"b": 42
},
"hsl": {
"h": 68.028,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.74331,
"c": 0.15877,
"h": 117.3
},
"luminance": 0.42447
}Semantic roles & 50–950 ramp
primary
#A5B82A
secondary
#8075C9
accent
#42E658
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B