#A5B82E#A5B82E
#A5B82E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.157 H 117.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B82E |
|---|---|
| RGB | rgb(165, 184, 46) |
| HSL | hsl(68, 60%, 45%) |
| HSV | hsv(68, 75%, 72%) |
| CMYK | cmyk(10.3%, 0%, 75%, 27.8%) |
| CIE-LAB | lab(71.20, -23.90, 63.10) |
| CIE-LCH | lch(71.20, 67.48, 110.74°) |
| OKLab | oklab(74.35% -0.0719 0.1391) |
| OKLCH | oklch(74.35% 0.157 117.3) |
| XYZ | xyz(33.1515, 42.4780, 9.0369) |
| Luminance | 0.4248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.88
Pea
#A4BF20
ΔE00 2.38
Bright Olive
#9CBB04
ΔE00 2.76
Snot
#ACBB0D
ΔE00 2.80
Mustard Green
#A8B504
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B82E #412EB8
analogous
#B8862E #A5B82E #60B82E
triadic
#A5B82E #2EA5B8 #B82EA5
tetradic
#A5B82E #2EB886 #412EB8 #B82E60
square
#A5B82E #2EB886 #412EB8 #B82E60
split-complementary
#A5B82E #2E60B8 #862EB8
monochromatic
#4D5616 #798722 #A5B82E #C1D350 #D2DF81
Accessibility & contrast
On white
2.21
#A5B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#A5B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B82E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B82E | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b82e; /* rgb */ color: rgb(165, 184, 46); /* oklch */ color: oklch(74.4% 0.157 117.3);
Tailwind
colors: {
custom: {
50: '#c3cd71',
500: '#a5b82e',
950: '#000000',
},
}SCSS
$custom: #a5b82e; $custom-light: #c3cd71; $custom-dark: #000000;
JSON
{
"hex": "#a5b82e",
"rgb": {
"r": 165,
"g": 184,
"b": 46
},
"hsl": {
"h": 68.261,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.74354,
"c": 0.15664,
"h": 117.3
},
"luminance": 0.42478
}Semantic roles & 50–950 ramp
primary
#A5B82E
secondary
#8479C8
accent
#45E35A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B