#A5B82B#A5B82B
#A5B82B is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.3% C 0.158 H 117.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B82B |
|---|---|
| RGB | rgb(165, 184, 43) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 77%, 72%) |
| CMYK | cmyk(10.3%, 0%, 76.6%, 27.8%) |
| CIE-LAB | lab(71.18, -24.03, 64.05) |
| CIE-LCH | lch(71.18, 68.42, 110.57°) |
| OKLab | oklab(74.34% -0.0726 0.1406) |
| OKLCH | oklch(74.34% 0.158 117.3) |
| XYZ | xyz(33.0944, 42.4551, 8.7363) |
| Luminance | 0.4245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.95
Pea
#A4BF20
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.58
Bright Olive
#9CBB04
ΔE00 2.63
Mustard Green
#A8B504
ΔE00 2.64
Gross Green
#A0BF16
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B82B #3E2BB8
analogous
#B8852B #A5B82B #5FB82B
triadic
#A5B82B #2BA5B8 #B82BA5
tetradic
#A5B82B #2BB885 #3E2BB8 #B82B5F
square
#A5B82B #2BB885 #3E2BB8 #B82B5F
split-complementary
#A5B82B #2B5FB8 #852BB8
monochromatic
#4C5514 #79861F #A5B82B #C2D54B #D3E17D
Accessibility & contrast
On white
2.21
#A5B82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#A5B82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B82B
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B82B | 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)
#C5AE03
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b82b; /* rgb */ color: rgb(165, 184, 43); /* oklch */ color: oklch(74.3% 0.158 117.3);
Tailwind
colors: {
custom: {
50: '#c3cd70',
500: '#a5b82b',
950: '#000000',
},
}SCSS
$custom: #a5b82b; $custom-light: #c3cd70; $custom-dark: #000000;
JSON
{
"hex": "#a5b82b",
"rgb": {
"r": 165,
"g": 184,
"b": 43
},
"hsl": {
"h": 68.085,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.74337,
"c": 0.15825,
"h": 117.3
},
"luminance": 0.42455
}Semantic roles & 50–950 ramp
primary
#A5B82B
secondary
#8176C9
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B