#A8B82F#A8B82F
#A8B82F is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.155 H 116.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B82F |
|---|---|
| RGB | rgb(168, 184, 47) |
| HSL | hsl(67, 59%, 45%) |
| HSV | hsv(67, 74%, 72%) |
| CMYK | cmyk(8.7%, 0%, 74.5%, 27.8%) |
| CIE-LAB | lab(71.43, -22.59, 63.06) |
| CIE-LCH | lch(71.43, 66.99, 109.71°) |
| OKLab | oklab(74.6% -0.0684 0.1391) |
| OKLCH | oklch(74.6% 0.155 116.2) |
| XYZ | xyz(33.8029, 42.8115, 9.1715) |
| Luminance | 0.4281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.47
Mustard Green
#A8B504
ΔE00 2.52
Sick Green
#9DB92C
ΔE00 2.55
Pea
#A4BF20
ΔE00 2.71
Bright Olive
#9CBB04
ΔE00 3.23
Gross Green
#A0BF16
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B82F #3F2FB8
analogous
#B8832F #A8B82F #64B82F
triadic
#A8B82F #2FA8B8 #B82FA8
tetradic
#A8B82F #2FB883 #3F2FB8 #B82F64
square
#A8B82F #2FB883 #3F2FB8 #B82F64
split-complementary
#A8B82F #2F64B8 #832FB8
monochromatic
#4F5716 #7B8723 #A8B82F #C4D352 #D4DF82
Accessibility & contrast
On white
2.20
#A8B82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#A8B82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B82F
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B82F | 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)
#C5AE10
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a8b82f; /* rgb */ color: rgb(168, 184, 47); /* oklch */ color: oklch(74.6% 0.155 116.2);
Tailwind
colors: {
custom: {
50: '#c5cd72',
500: '#a8b82f',
950: '#000000',
},
}SCSS
$custom: #a8b82f; $custom-light: #c5cd72; $custom-dark: #000000;
JSON
{
"hex": "#a8b82f",
"rgb": {
"r": 168,
"g": 184,
"b": 47
},
"hsl": {
"h": 67.007,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.74595,
"c": 0.15505,
"h": 116.2
},
"luminance": 0.42811
}Semantic roles & 50–950 ramp
primary
#A8B82F
secondary
#847BC8
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B