#A2A62E#A2A62E
#A2A62E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.138 H 111.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A62E |
|---|---|
| RGB | rgb(162, 166, 46) |
| HSL | hsl(62, 57%, 42%) |
| HSV | hsv(62, 72%, 65%) |
| CMYK | cmyk(2.4%, 0%, 72.3%, 34.9%) |
| CIE-LAB | lab(65.87, -16.15, 57.94) |
| CIE-LCH | lch(65.87, 60.15, 105.57°) |
| OKLab | oklab(70.02% -0.0503 0.1283) |
| OKLCH | oklch(70.02% 0.138 111.4) |
| XYZ | xyz(29.0306, 35.1518, 7.8400) |
| Luminance | 0.3515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.03
Puke
#A5A502
ΔE00 2.99
Pea Soup Green
#94A617
ΔE00 3.47
Puke Green
#9AAE07
ΔE00 4.34
Pea Soup
#929901
ΔE00 4.63
Barf Green
#94AC02
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A62E #322EA6
analogous
#A66E2E #A2A62E #66A62E
triadic
#A2A62E #2EA2A6 #A62EA2
tetradic
#A2A62E #2EA66E #322EA6 #A62E66
square
#A2A62E #2EA66E #322EA6 #A62E66
split-complementary
#A2A62E #2E66A6 #6E2EA6
monochromatic
#444613 #737621 #A2A62E #C7CC46 #D6D976
Accessibility & contrast
On white
2.62
#A2A62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A2A62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A62E
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A62E | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a62e; /* rgb */ color: rgb(162, 166, 46); /* oklch */ color: oklch(70.0% 0.138 111.4);
Tailwind
colors: {
custom: {
50: '#c1c06f',
500: '#a2a62e',
950: '#000000',
},
}SCSS
$custom: #a2a62e; $custom-light: #c1c06f; $custom-dark: #000000;
JSON
{
"hex": "#a2a62e",
"rgb": {
"r": 162,
"g": 166,
"b": 46
},
"hsl": {
"h": 62,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.7002,
"c": 0.13783,
"h": 111.4
},
"luminance": 0.35151
}Semantic roles & 50–950 ramp
primary
#A2A62E
secondary
#726FC1
accent
#48E04D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B