#A8BA3A#A8BA3A
#A8BA3A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.150 H 117.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA3A |
|---|---|
| RGB | rgb(168, 186, 58) |
| HSL | hsl(68, 52%, 48%) |
| HSV | hsv(68, 69%, 73%) |
| CMYK | cmyk(9.7%, 0%, 68.8%, 27.1%) |
| CIE-LAB | lab(72.06, -23.00, 59.73) |
| CIE-LCH | lch(72.06, 64.01, 111.06°) |
| OKLab | oklab(75.13% -0.0685 0.134) |
| OKLCH | oklch(75.13% 0.15 117.1) |
| XYZ | xyz(34.4718, 43.7485, 10.6305) |
| Luminance | 0.4375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.23
Pea
#A4BF20
ΔE00 2.74
Booger
#9BB53C
ΔE00 2.81
Gross Green
#A0BF16
ΔE00 3.35
Snot
#ACBB0D
ΔE00 3.44
Bright Olive
#9CBB04
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA3A #4C3ABA
analogous
#BA8C3A #A8BA3A #68BA3A
triadic
#A8BA3A #3AA8BA #BA3AA8
tetradic
#A8BA3A #3ABA8C #4C3ABA #BA3A68
square
#A8BA3A #3ABA8C #4C3ABA #BA3A68
split-complementary
#A8BA3A #3A68BA #8C3ABA
monochromatic
#545D1D #7E8B2B #A8BA3A #BFCE63 #D2DD92
Accessibility & contrast
On white
2.15
#A8BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#A8BA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA3A
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA3A | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B026
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#B2B0A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a8ba3a; /* rgb */ color: rgb(168, 186, 58); /* oklch */ color: oklch(75.1% 0.150 117.1);
Tailwind
colors: {
custom: {
50: '#c5ce78',
500: '#a8ba3a',
950: '#000000',
},
}SCSS
$custom: #a8ba3a; $custom-light: #c5ce78; $custom-dark: #000000;
JSON
{
"hex": "#a8ba3a",
"rgb": {
"r": 168,
"g": 186,
"b": 58
},
"hsl": {
"h": 68.438,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.75125,
"c": 0.15048,
"h": 117.1
},
"luminance": 0.43748
}Semantic roles & 50–950 ramp
primary
#A8BA3A
secondary
#9188C8
accent
#4CDC60
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B