#A2A627#A2A627
#A2A627 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.142 H 111.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A627 |
|---|---|
| RGB | rgb(162, 166, 39) |
| HSL | hsl(62, 62%, 40%) |
| HSV | hsv(62, 77%, 65%) |
| CMYK | cmyk(2.4%, 0%, 76.5%, 34.9%) |
| CIE-LAB | lab(65.83, -16.47, 60.31) |
| CIE-LCH | lch(65.83, 62.52, 105.27°) |
| OKLab | oklab(69.98% -0.0518 0.1321) |
| OKLCH | oklch(69.98% 0.142 111.4) |
| XYZ | xyz(28.9037, 35.1011, 7.1717) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.43
Puke
#A5A502
ΔE00 2.39
Pea Soup Green
#94A617
ΔE00 3.36
Puke Green
#9AAE07
ΔE00 4.08
Pea Soup
#929901
ΔE00 4.43
Barf Green
#94AC02
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A627 #2B27A6
analogous
#A66B27 #A2A627 #62A627
triadic
#A2A627 #27A2A6 #A627A2
tetradic
#A2A627 #27A66B #2B27A6 #A62762
square
#A2A627 #27A66B #2B27A6 #A62762
split-complementary
#A2A627 #2762A6 #6B27A6
monochromatic
#414310 #72741B #A2A627 #CCD13A #D9DC6B
Accessibility & contrast
On white
2.62
#A2A627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A2A627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A627
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A627 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#AE9B8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a627; /* rgb */ color: rgb(162, 166, 39); /* oklch */ color: oklch(70.0% 0.142 111.4);
Tailwind
colors: {
custom: {
50: '#c1c06c',
500: '#a2a627',
950: '#000000',
},
}SCSS
$custom: #a2a627; $custom-light: #c1c06c; $custom-dark: #000000;
JSON
{
"hex": "#a2a627",
"rgb": {
"r": 162,
"g": 166,
"b": 39
},
"hsl": {
"h": 61.89,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.69976,
"c": 0.14187,
"h": 111.4
},
"luminance": 0.351
}Semantic roles & 50–950 ramp
primary
#A2A627
secondary
#6966C3
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A