#A2A027#A2A027
#A2A027 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.136 H 108.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A027 |
|---|---|
| RGB | rgb(162, 160, 39) |
| HSL | hsl(59, 61%, 39%) |
| HSV | hsv(59, 76%, 64%) |
| CMYK | cmyk(0%, 1.2%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.14, -13.37, 58.75) |
| CIE-LCH | lch(64.14, 60.25, 102.82°) |
| OKLab | oklab(68.63% -0.0431 0.1288) |
| OKLCH | oklch(68.63% 0.136 108.5) |
| XYZ | xyz(27.8384, 32.9704, 6.8166) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Puke
#A5A502
ΔE00 2.72
Pea Soup
#929901
ΔE00 3.76
Baby Poop Green
#8F9805
ΔE00 4.33
Pea Soup Green
#94A617
ΔE00 4.89
Baby Shit Green
#889717
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A027 #2729A2
analogous
#A26227 #A2A027 #67A227
triadic
#A2A027 #27A2A0 #A027A2
tetradic
#A2A027 #27A262 #2729A2 #A22767
square
#A2A027 #27A262 #2729A2 #A22767
split-complementary
#A2A027 #2767A2 #6227A2
monochromatic
#3F3F0F #716F1B #A2A027 #CFCC37 #DBD969
Accessibility & contrast
On white
2.77
#A2A027 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#A2A027 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A027
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A027 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A027 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a2a027; /* rgb */ color: rgb(162, 160, 39); /* oklch */ color: oklch(68.6% 0.136 108.5);
Tailwind
colors: {
custom: {
50: '#c1bb6b',
500: '#a2a027',
950: '#000000',
},
}SCSS
$custom: #a2a027; $custom-light: #c1bb6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a027",
"rgb": {
"r": 162,
"g": 160,
"b": 39
},
"hsl": {
"h": 59.024,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.68625,
"c": 0.13581,
"h": 108.5
},
"luminance": 0.32969
}Semantic roles & 50–950 ramp
primary
#A2A027
secondary
#6465C1
accent
#46E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A