#A2A631#A2A631
#A2A631 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.136 H 111.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A631 |
|---|---|
| RGB | rgb(162, 166, 49) |
| HSL | hsl(62, 54%, 42%) |
| HSV | hsv(62, 70%, 65%) |
| CMYK | cmyk(2.4%, 0%, 70.5%, 34.9%) |
| CIE-LAB | lab(65.89, -15.99, 56.85) |
| CIE-LCH | lch(65.89, 59.06, 105.71°) |
| OKLab | oklab(70.04% -0.0495 0.1266) |
| OKLCH | oklch(70.04% 0.136 111.4) |
| XYZ | xyz(29.0918, 35.1763, 8.1624) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.32
Puke
#A5A502
ΔE00 3.28
Pea Soup Green
#94A617
ΔE00 3.57
Puke Green
#9AAE07
ΔE00 4.49
Pea Soup
#929901
ΔE00 4.75
Barf Green
#94AC02
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A631 #3531A6
analogous
#A66F31 #A2A631 #68A631
triadic
#A2A631 #31A2A6 #A631A2
tetradic
#A2A631 #31A66F #3531A6 #A63168
square
#A2A631 #31A66F #3531A6 #A63168
split-complementary
#A2A631 #3168A6 #6F31A6
monochromatic
#464715 #747723 #A2A631 #C5CA4A #D4D87A
Accessibility & contrast
On white
2.61
#A2A631 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A2A631 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A631
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A631 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A631 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1D
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a631; /* rgb */ color: rgb(162, 166, 49); /* oklch */ color: oklch(70.0% 0.136 111.4);
Tailwind
colors: {
custom: {
50: '#c1c071',
500: '#a2a631',
950: '#000000',
},
}SCSS
$custom: #a2a631; $custom-light: #c1c071; $custom-dark: #000000;
JSON
{
"hex": "#a2a631",
"rgb": {
"r": 162,
"g": 166,
"b": 49
},
"hsl": {
"h": 62.051,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.70041,
"c": 0.13592,
"h": 111.4
},
"luminance": 0.35176
}Semantic roles & 50–950 ramp
primary
#A2A631
secondary
#7573C0
accent
#4ADE4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B