#A8B82C#A8B82C
#A8B82C is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.157 H 116.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B82C |
|---|---|
| RGB | rgb(168, 184, 44) |
| HSL | hsl(67, 61%, 45%) |
| HSV | hsv(67, 76%, 72%) |
| CMYK | cmyk(8.7%, 0%, 76.1%, 27.8%) |
| CIE-LAB | lab(71.41, -22.73, 64.03) |
| CIE-LCH | lch(71.41, 67.94, 109.54°) |
| OKLab | oklab(74.58% -0.069 0.1407) |
| OKLCH | oklch(74.58% 0.157 116.1) |
| XYZ | xyz(33.7445, 42.7882, 8.8637) |
| Luminance | 0.4279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.23
Mustard Green
#A8B504
ΔE00 2.29
Sick Green
#9DB92C
ΔE00 2.62
Pea
#A4BF20
ΔE00 2.64
Bright Olive
#9CBB04
ΔE00 3.13
Gross Green
#A0BF16
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B82C #3C2CB8
analogous
#B8822C #A8B82C #62B82C
triadic
#A8B82C #2CA8B8 #B82CA8
tetradic
#A8B82C #2CB882 #3C2CB8 #B82C62
square
#A8B82C #2CB882 #3C2CB8 #B82C62
split-complementary
#A8B82C #2C62B8 #822CB8
monochromatic
#4E5514 #7B8720 #A8B82C #C5D44D #D5E07E
Accessibility & contrast
On white
2.20
#A8B82C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#A8B82C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B82C
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B82C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B82C | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE06
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a8b82c; /* rgb */ color: rgb(168, 184, 44); /* oklch */ color: oklch(74.6% 0.157 116.1);
Tailwind
colors: {
custom: {
50: '#c5cd71',
500: '#a8b82c',
950: '#000000',
},
}SCSS
$custom: #a8b82c; $custom-light: #c5cd71; $custom-dark: #000000;
JSON
{
"hex": "#a8b82c",
"rgb": {
"r": 168,
"g": 184,
"b": 44
},
"hsl": {
"h": 66.857,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.74577,
"c": 0.15668,
"h": 116.1
},
"luminance": 0.42788
}Semantic roles & 50–950 ramp
primary
#A8B82C
secondary
#8077C9
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B