#A8BA2A#A8BA2A
#A8BA2A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.160 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA2A |
|---|---|
| RGB | rgb(168, 186, 42) |
| HSL | hsl(68, 63%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(9.7%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(71.97, -23.79, 65.16) |
| CIE-LCH | lch(71.97, 69.37, 110.06°) |
| OKLab | oklab(75.02% -0.0721 0.1427) |
| OKLCH | oklch(75.02% 0.16 116.8) |
| XYZ | xyz(34.1262, 43.6103, 8.8099) |
| Luminance | 0.4361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.03
Snot
#ACBB0D
ΔE00 2.04
Sick Green
#9DB92C
ΔE00 2.40
Mustard Green
#A8B504
ΔE00 2.47
Gross Green
#A0BF16
ΔE00 2.68
Bright Olive
#9CBB04
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA2A #3C2ABA
analogous
#BA842A #A8BA2A #60BA2A
triadic
#A8BA2A #2AA8BA #BA2AA8
tetradic
#A8BA2A #2ABA84 #3C2ABA #BA2A60
square
#A8BA2A #2ABA84 #3C2ABA #BA2A60
split-complementary
#A8BA2A #2A60BA #842ABA
monochromatic
#4E5613 #7B881F #A8BA2A #C5D64B #D5E27D
Accessibility & contrast
On white
2.16
#A8BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#A8BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA2A
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA2A | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba2a; /* rgb */ color: rgb(168, 186, 42); /* oklch */ color: oklch(75.0% 0.160 116.8);
Tailwind
colors: {
custom: {
50: '#c6ce70',
500: '#a8ba2a',
950: '#000000',
},
}SCSS
$custom: #a8ba2a; $custom-light: #c6ce70; $custom-dark: #000000;
JSON
{
"hex": "#a8ba2a",
"rgb": {
"r": 168,
"g": 186,
"b": 42
},
"hsl": {
"h": 67.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.75021,
"c": 0.15991,
"h": 116.8
},
"luminance": 0.4361
}Semantic roles & 50–950 ramp
primary
#A8BA2A
secondary
#8076CA
accent
#42E656
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B