#A5B82F#A5B82F
#A5B82F is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.156 H 117.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B82F |
|---|---|
| RGB | rgb(165, 184, 47) |
| HSL | hsl(68, 59%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(10.3%, 0%, 74.5%, 27.8%) |
| CIE-LAB | lab(71.20, -23.85, 62.78) |
| CIE-LCH | lch(71.20, 67.16, 110.81°) |
| OKLab | oklab(74.36% -0.0717 0.1386) |
| OKLCH | oklch(74.36% 0.156 117.4) |
| XYZ | xyz(33.1714, 42.4859, 9.1419) |
| Luminance | 0.4249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.86
Pea
#A4BF20
ΔE00 2.41
Bright Olive
#9CBB04
ΔE00 2.81
Booger
#9BB53C
ΔE00 2.87
Snot
#ACBB0D
ΔE00 2.88
Mustard Green
#A8B504
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B82F #422FB8
analogous
#B8862F #A5B82F #61B82F
triadic
#A5B82F #2FA5B8 #B82FA5
tetradic
#A5B82F #2FB886 #422FB8 #B82F61
square
#A5B82F #2FB886 #422FB8 #B82F61
split-complementary
#A5B82F #2F61B8 #862FB8
monochromatic
#4E5716 #798723 #A5B82F #C1D352 #D2DF82
Accessibility & contrast
On white
2.21
#A5B82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#A5B82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B82F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B82F | 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)
#C5AE10
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b82f; /* rgb */ color: rgb(165, 184, 47); /* oklch */ color: oklch(74.4% 0.156 117.4);
Tailwind
colors: {
custom: {
50: '#c3cd72',
500: '#a5b82f',
950: '#000000',
},
}SCSS
$custom: #a5b82f; $custom-light: #c3cd72; $custom-dark: #000000;
JSON
{
"hex": "#a5b82f",
"rgb": {
"r": 165,
"g": 184,
"b": 47
},
"hsl": {
"h": 68.321,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.7436,
"c": 0.15608,
"h": 117.4
},
"luminance": 0.42486
}Semantic roles & 50–950 ramp
primary
#A5B82F
secondary
#857BC8
accent
#45E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B