#A2AB38#A2AB38
#A2AB38 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.137 H 113.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB38 |
|---|---|
| RGB | rgb(162, 171, 56) |
| HSL | hsl(65, 51%, 45%) |
| HSV | hsv(65, 67%, 67%) |
| CMYK | cmyk(5.3%, 0%, 67.3%, 32.9%) |
| CIE-LAB | lab(67.35, -18.15, 55.59) |
| CIE-LCH | lch(67.35, 58.48, 108.08°) |
| OKLab | oklab(71.23% -0.0549 0.1251) |
| OKLCH | oklch(71.23% 0.137 113.7) |
| XYZ | xyz(30.1778, 37.0933, 9.3106) |
| Luminance | 0.3709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.40
Vomit
#A2A415
ΔE00 3.75
Puke Green
#9AAE07
ΔE00 3.76
Barf Green
#94AC02
ΔE00 4.20
Booger
#9BB53C
ΔE00 4.31
Puke
#A5A502
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB38 #4138AB
analogous
#AB7B38 #A2AB38 #68AB38
triadic
#A2AB38 #38A2AB #AB38A2
tetradic
#A2AB38 #38AB7B #4138AB #AB3868
square
#A2AB38 #38AB7B #4138AB #AB3868
split-complementary
#A2AB38 #3868AB #7B38AB
monochromatic
#4B4F1A #767D29 #A2AB38 #BFC858 #D1D786
Accessibility & contrast
On white
2.49
#A2AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A2AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB38
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB38 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#ADA194
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab38; /* rgb */ color: rgb(162, 171, 56); /* oklch */ color: oklch(71.2% 0.137 113.7);
Tailwind
colors: {
custom: {
50: '#c0c375',
500: '#a2ab38',
950: '#000000',
},
}SCSS
$custom: #a2ab38; $custom-light: #c0c375; $custom-dark: #000000;
JSON
{
"hex": "#a2ab38",
"rgb": {
"r": 162,
"g": 171,
"b": 56
},
"hsl": {
"h": 64.696,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.71226,
"c": 0.13659,
"h": 113.7
},
"luminance": 0.37093
}Semantic roles & 50–950 ramp
primary
#A2AB38
secondary
#837DC1
accent
#4EDA59
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B