#A5B82C#A5B82C
#A5B82C 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 | #A5B82C |
|---|---|
| RGB | rgb(165, 184, 44) |
| HSL | hsl(68, 61%, 45%) |
| HSV | hsv(68, 76%, 72%) |
| CMYK | cmyk(10.3%, 0%, 76.1%, 27.8%) |
| CIE-LAB | lab(71.19, -23.99, 63.74) |
| CIE-LCH | lch(71.19, 68.11, 110.63°) |
| OKLab | oklab(74.34% -0.0724 0.1402) |
| OKLCH | oklch(74.34% 0.158 117.3) |
| XYZ | xyz(33.1130, 42.4626, 8.8341) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.93
Pea
#A4BF20
ΔE00 2.31
Snot
#ACBB0D
ΔE00 2.65
Bright Olive
#9CBB04
ΔE00 2.67
Mustard Green
#A8B504
ΔE00 2.71
Gross Green
#A0BF16
ΔE00 2.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B82C #3F2CB8
analogous
#B8852C #A5B82C #5FB82C
triadic
#A5B82C #2CA5B8 #B82CA5
tetradic
#A5B82C #2CB885 #3F2CB8 #B82C5F
square
#A5B82C #2CB885 #3F2CB8 #B82C5F
split-complementary
#A5B82C #2C5FB8 #852CB8
monochromatic
#4C5514 #798720 #A5B82C #C2D44D #D3E07E
Accessibility & contrast
On white
2.21
#A5B82C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#A5B82C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B82C
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B82C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B82C | 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)
#C5AE06
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b82c; /* rgb */ color: rgb(165, 184, 44); /* oklch */ color: oklch(74.3% 0.158 117.3);
Tailwind
colors: {
custom: {
50: '#c3cd71',
500: '#a5b82c',
950: '#000000',
},
}SCSS
$custom: #a5b82c; $custom-light: #c3cd71; $custom-dark: #000000;
JSON
{
"hex": "#a5b82c",
"rgb": {
"r": 165,
"g": 184,
"b": 44
},
"hsl": {
"h": 68.143,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.74343,
"c": 0.15773,
"h": 117.3
},
"luminance": 0.42462
}Semantic roles & 50–950 ramp
primary
#A5B82C
secondary
#8277C9
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B