#A2A127#A2A127
#A2A127 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.137 H 109.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A127 |
|---|---|
| RGB | rgb(162, 161, 39) |
| HSL | hsl(60, 61%, 39%) |
| HSV | hsv(60, 76%, 64%) |
| CMYK | cmyk(0%, 0.6%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.42, -13.89, 59.01) |
| CIE-LCH | lch(64.42, 60.62, 103.24°) |
| OKLab | oklab(68.85% -0.0446 0.1293) |
| OKLCH | oklch(68.85% 0.137 109) |
| XYZ | xyz(28.0124, 33.3185, 6.8746) |
| Luminance | 0.3332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.72
Puke
#A5A502
ΔE00 2.54
Pea Soup
#929901
ΔE00 3.80
Baby Poop Green
#8F9805
ΔE00 4.35
Pea Soup Green
#94A617
ΔE00 4.59
Puke Green
#9AAE07
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A127 #2728A2
analogous
#A26427 #A2A127 #66A227
triadic
#A2A127 #27A2A1 #A127A2
tetradic
#A2A127 #27A264 #2728A2 #A22766
square
#A2A127 #27A264 #2728A2 #A22766
split-complementary
#A2A127 #2766A2 #6427A2
monochromatic
#3F3F0F #71701B #A2A127 #CFCE37 #DBDA69
Accessibility & contrast
On white
2.74
#A2A127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#A2A127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A127
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A127 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a2a127; /* rgb */ color: rgb(162, 161, 39); /* oklch */ color: oklch(68.8% 0.137 109.0);
Tailwind
colors: {
custom: {
50: '#c1bc6b',
500: '#a2a127',
950: '#000000',
},
}SCSS
$custom: #a2a127; $custom-light: #c1bc6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a127",
"rgb": {
"r": 162,
"g": 161,
"b": 39
},
"hsl": {
"h": 59.512,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.6885,
"c": 0.13679,
"h": 109
},
"luminance": 0.33318
}Semantic roles & 50–950 ramp
primary
#A2A127
secondary
#6465C1
accent
#45E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A