#A2BA28#A2BA28
#A2BA28 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.6% C 0.163 H 119.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A2BA28 |
|---|---|
| RGB | rgb(162, 186, 40) |
| HSL | hsl(70, 65%, 44%) |
| HSV | hsv(70, 78%, 73%) |
| CMYK | cmyk(12.9%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(71.52, -26.39, 65.20) |
| CIE-LCH | lch(71.52, 70.34, 112.04°) |
| OKLab | oklab(74.55% -0.0791 0.1427) |
| OKLCH | oklch(74.55% 0.163 119) |
| XYZ | xyz(32.8429, 42.9526, 8.5676) |
| Luminance | 0.4295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.17
Pea
#A4BF20
ΔE00 1.50
Bright Olive
#9CBB04
ΔE00 1.80
Gross Green
#A0BF16
ΔE00 1.88
Booger Green
#96B403
ΔE00 2.47
Sickly Green
#94B21C
ΔE00 2.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2BA28 #4028BA
analogous
#BA8928 #A2BA28 #59BA28
triadic
#A2BA28 #28A2BA #BA28A2
tetradic
#A2BA28 #28BA89 #4028BA #BA2859
square
#A2BA28 #28BA89 #4028BA #BA2859
split-complementary
#A2BA28 #2859BA #8928BA
monochromatic
#4A5512 #76881D #A2BA28 #C0D848 #D1E27A
Accessibility & contrast
On white
2.19
#A2BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#A2BA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2BA28
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2BA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2BA28 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#ACB09F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a2ba28; /* rgb */ color: rgb(162, 186, 40); /* oklch */ color: oklch(74.6% 0.163 119.0);
Tailwind
colors: {
custom: {
50: '#c1ce6f',
500: '#a2ba28',
950: '#000000',
},
}SCSS
$custom: #a2ba28; $custom-light: #c1ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a2ba28",
"rgb": {
"r": 162,
"g": 186,
"b": 40
},
"hsl": {
"h": 69.863,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.74551,
"c": 0.16312,
"h": 119
},
"luminance": 0.42952
}Semantic roles & 50–950 ramp
primary
#A2BA28
secondary
#8273CA
accent
#40E85C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B