#A2BA27#A2BA27
#A2BA27 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.5% C 0.164 H 119.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A2BA27 |
|---|---|
| RGB | rgb(162, 186, 39) |
| HSL | hsl(70, 65%, 44%) |
| HSV | hsv(70, 79%, 73%) |
| CMYK | cmyk(12.9%, 0%, 79%, 27.1%) |
| CIE-LAB | lab(71.52, -26.43, 65.49) |
| CIE-LCH | lch(71.52, 70.62, 111.98°) |
| OKLab | oklab(74.55% -0.0793 0.1431) |
| OKLCH | oklch(74.55% 0.164 119) |
| XYZ | xyz(32.8261, 42.9459, 8.4792) |
| Luminance | 0.4295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.22
Pea
#A4BF20
ΔE00 1.47
Bright Olive
#9CBB04
ΔE00 1.75
Gross Green
#A0BF16
ΔE00 1.85
Booger Green
#96B403
ΔE00 2.44
Snot Green
#9DC100
ΔE00 2.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2BA27 #3F27BA
analogous
#BA8927 #A2BA27 #59BA27
triadic
#A2BA27 #27A2BA #BA27A2
tetradic
#A2BA27 #27BA89 #3F27BA #BA2759
square
#A2BA27 #27BA89 #3F27BA #BA2759
split-complementary
#A2BA27 #2759BA #8927BA
monochromatic
#4A5512 #76871C #A2BA27 #C0D846 #D1E379
Accessibility & contrast
On white
2.19
#A2BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#A2BA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2BA27
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2BA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2BA27 | 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: #a2ba27; /* rgb */ color: rgb(162, 186, 39); /* oklch */ color: oklch(74.5% 0.164 119.0);
Tailwind
colors: {
custom: {
50: '#c1ce6f',
500: '#a2ba27',
950: '#000000',
},
}SCSS
$custom: #a2ba27; $custom-light: #c1ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a2ba27",
"rgb": {
"r": 162,
"g": 186,
"b": 39
},
"hsl": {
"h": 69.796,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.74546,
"c": 0.16359,
"h": 119
},
"luminance": 0.42946
}Semantic roles & 50–950 ramp
primary
#A2BA27
secondary
#8172CB
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B