#A8B82A#A8B82A
#A8B82A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.158 H 116.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B82A |
|---|---|
| RGB | rgb(168, 184, 42) |
| HSL | hsl(67, 63%, 44%) |
| HSV | hsv(67, 77%, 72%) |
| CMYK | cmyk(8.7%, 0%, 77.2%, 27.8%) |
| CIE-LAB | lab(71.40, -22.81, 64.65) |
| CIE-LCH | lch(71.40, 68.55, 109.44°) |
| OKLab | oklab(74.57% -0.0694 0.1416) |
| OKLCH | oklch(74.57% 0.158 116.1) |
| XYZ | xyz(33.7078, 42.7735, 8.6704) |
| Luminance | 0.4277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.09
Mustard Green
#A8B504
ΔE00 2.14
Pea
#A4BF20
ΔE00 2.61
Sick Green
#9DB92C
ΔE00 2.68
Bright Olive
#9CBB04
ΔE00 3.07
Gross Green
#A0BF16
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B82A #3A2AB8
analogous
#B8812A #A8B82A #61B82A
triadic
#A8B82A #2AA8B8 #B82AA8
tetradic
#A8B82A #2AB881 #3A2AB8 #B82A61
square
#A8B82A #2AB881 #3A2AB8 #B82A61
split-complementary
#A8B82A #2A61B8 #812AB8
monochromatic
#4D5413 #7B861F #A8B82A #C6D64A #D6E17B
Accessibility & contrast
On white
2.20
#A8B82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#A8B82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B82A
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B82A | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a8b82a; /* rgb */ color: rgb(168, 184, 42); /* oklch */ color: oklch(74.6% 0.158 116.1);
Tailwind
colors: {
custom: {
50: '#c6cd70',
500: '#a8b82a',
950: '#000000',
},
}SCSS
$custom: #a8b82a; $custom-light: #c6cd70; $custom-dark: #000000;
JSON
{
"hex": "#a8b82a",
"rgb": {
"r": 168,
"g": 184,
"b": 42
},
"hsl": {
"h": 66.761,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.74566,
"c": 0.15771,
"h": 116.1
},
"luminance": 0.42773
}Semantic roles & 50–950 ramp
primary
#A8B82A
secondary
#7E75C9
accent
#42E654
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B