#A2AB30#A2AB30
#A2AB30 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.142 H 113.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB30 |
|---|---|
| RGB | rgb(162, 171, 48) |
| HSL | hsl(64, 56%, 43%) |
| HSV | hsv(64, 72%, 67%) |
| CMYK | cmyk(5.3%, 0%, 71.9%, 32.9%) |
| CIE-LAB | lab(67.29, -18.60, 58.60) |
| CIE-LCH | lch(67.29, 61.48, 107.61°) |
| OKLab | oklab(71.17% -0.0569 0.1301) |
| OKLCH | oklch(71.17% 0.142 113.6) |
| XYZ | xyz(29.9976, 37.0212, 8.3613) |
| Luminance | 0.3702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.01
Puke Green
#9AAE07
ΔE00 3.14
Vomit
#A2A415
ΔE00 3.15
Barf Green
#94AC02
ΔE00 3.71
Puke
#A5A502
ΔE00 3.89
Mustard Green
#A8B504
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB30 #3930AB
analogous
#AB7630 #A2AB30 #65AB30
triadic
#A2AB30 #30A2AB #AB30A2
tetradic
#A2AB30 #30AB76 #3930AB #AB3065
square
#A2AB30 #30AB76 #3930AB #AB3065
split-complementary
#A2AB30 #3065AB #7630AB
monochromatic
#474B15 #757B23 #A2AB30 #C3CD4C #D3DA7B
Accessibility & contrast
On white
2.50
#A2AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A2AB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB30
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB30 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab30; /* rgb */ color: rgb(162, 171, 48); /* oklch */ color: oklch(71.2% 0.142 113.6);
Tailwind
colors: {
custom: {
50: '#c1c371',
500: '#a2ab30',
950: '#000000',
},
}SCSS
$custom: #a2ab30; $custom-light: #c1c371; $custom-dark: #000000;
JSON
{
"hex": "#a2ab30",
"rgb": {
"r": 162,
"g": 171,
"b": 48
},
"hsl": {
"h": 64.39,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.71166,
"c": 0.14198,
"h": 113.6
},
"luminance": 0.37021
}Semantic roles & 50–950 ramp
primary
#A2AB30
secondary
#7A74C3
accent
#48DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B