#A2AB27#A2AB27
#A2AB27 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.147 H 113.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB27 |
|---|---|
| RGB | rgb(162, 171, 39) |
| HSL | hsl(64, 63%, 41%) |
| HSV | hsv(64, 77%, 67%) |
| CMYK | cmyk(5.3%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(67.24, -19.02, 61.61) |
| CIE-LCH | lch(67.24, 64.48, 107.15°) |
| OKLab | oklab(71.11% -0.0589 0.1348) |
| OKLCH | oklch(71.11% 0.147 113.6) |
| XYZ | xyz(29.8303, 36.9543, 7.4806) |
| Luminance | 0.3695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.67
Vomit
#A2A415
ΔE00 2.69
Pea Soup Green
#94A617
ΔE00 2.86
Puke
#A5A502
ΔE00 3.31
Barf Green
#94AC02
ΔE00 3.39
Mustard Green
#A8B504
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB27 #3027AB
analogous
#AB7227 #A2AB27 #60AB27
triadic
#A2AB27 #27A2AB #AB27A2
tetradic
#A2AB27 #27AB72 #3027AB #AB2760
square
#A2AB27 #27AB72 #3027AB #AB2760
split-complementary
#A2AB27 #2760AB #7227AB
monochromatic
#444710 #73791C #A2AB27 #C8D33D #D6DE6E
Accessibility & contrast
On white
2.50
#A2AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#A2AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB27
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB27 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A201
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab27; /* rgb */ color: rgb(162, 171, 39); /* oklch */ color: oklch(71.1% 0.147 113.6);
Tailwind
colors: {
custom: {
50: '#c1c36d',
500: '#a2ab27',
950: '#000000',
},
}SCSS
$custom: #a2ab27; $custom-light: #c1c36d; $custom-dark: #000000;
JSON
{
"hex": "#a2ab27",
"rgb": {
"r": 162,
"g": 171,
"b": 39
},
"hsl": {
"h": 64.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.7111,
"c": 0.14713,
"h": 113.6
},
"luminance": 0.36954
}Semantic roles & 50–950 ramp
primary
#A2AB27
secondary
#6F69C5
accent
#42E64D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B