#A2A231#A2A231
#A2A231 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.132 H 109.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A231 |
|---|---|
| RGB | rgb(162, 162, 49) |
| HSL | hsl(60, 54%, 41%) |
| HSV | hsv(60, 70%, 64%) |
| CMYK | cmyk(0%, 0%, 69.8%, 36.5%) |
| CIE-LAB | lab(64.76, -13.93, 55.74) |
| CIE-LCH | lch(64.76, 57.45, 104.03°) |
| OKLab | oklab(69.14% -0.0437 0.1242) |
| OKLCH | oklch(69.14% 0.132 109.4) |
| XYZ | xyz(28.3760, 33.7446, 7.9237) |
| Luminance | 0.3374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.42
Puke
#A5A502
ΔE00 3.34
Pea Soup
#929901
ΔE00 4.27
Pea Soup Green
#94A617
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 4.69
Puke Green
#9AAE07
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A231 #3131A2
analogous
#A26A31 #A2A231 #6AA231
triadic
#A2A231 #31A2A2 #A231A2
tetradic
#A2A231 #31A26A #3131A2 #A2316A
square
#A2A231 #31A26A #3131A2 #A2316A
split-complementary
#A2A231 #316AA2 #6A31A2
monochromatic
#444415 #737323 #A2A231 #C8C848 #D6D677
Accessibility & contrast
On white
2.71
#A2A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A2A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A231
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A231 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a231; /* rgb */ color: rgb(162, 162, 49); /* oklch */ color: oklch(69.1% 0.132 109.4);
Tailwind
colors: {
custom: {
50: '#c1bd70',
500: '#a2a231',
950: '#000000',
},
}SCSS
$custom: #a2a231; $custom-light: #c1bd70; $custom-dark: #000000;
JSON
{
"hex": "#a2a231",
"rgb": {
"r": 162,
"g": 162,
"b": 49
},
"hsl": {
"h": 60,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.69141,
"c": 0.1317,
"h": 109.4
},
"luminance": 0.33744
}Semantic roles & 50–950 ramp
primary
#A2A231
secondary
#7171BE
accent
#4BDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B