#A2A628#A2A628
#A2A628 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.141 H 111.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A628 |
|---|---|
| RGB | rgb(162, 166, 40) |
| HSL | hsl(62, 61%, 40%) |
| HSV | hsv(62, 76%, 65%) |
| CMYK | cmyk(2.4%, 0%, 75.9%, 34.9%) |
| CIE-LAB | lab(65.83, -16.43, 59.99) |
| CIE-LCH | lch(65.83, 62.20, 105.31°) |
| OKLab | oklab(69.98% -0.0516 0.1316) |
| OKLCH | oklch(69.98% 0.141 111.4) |
| XYZ | xyz(28.9205, 35.1078, 7.2601) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.51
Puke
#A5A502
ΔE00 2.47
Pea Soup Green
#94A617
ΔE00 3.37
Puke Green
#9AAE07
ΔE00 4.11
Pea Soup
#929901
ΔE00 4.45
Barf Green
#94AC02
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A628 #2C28A6
analogous
#A66B28 #A2A628 #63A628
triadic
#A2A628 #28A2A6 #A628A2
tetradic
#A2A628 #28A66B #2C28A6 #A62863
square
#A2A628 #28A66B #2C28A6 #A62863
split-complementary
#A2A628 #2863A6 #6B28A6
monochromatic
#424310 #72751C #A2A628 #CBD03B #D8DC6D
Accessibility & contrast
On white
2.62
#A2A628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A2A628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A628
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A628 | 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)
#B39E08
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a628; /* rgb */ color: rgb(162, 166, 40); /* oklch */ color: oklch(70.0% 0.141 111.4);
Tailwind
colors: {
custom: {
50: '#c1c06c',
500: '#a2a628',
950: '#000000',
},
}SCSS
$custom: #a2a628; $custom-light: #c1c06c; $custom-dark: #000000;
JSON
{
"hex": "#a2a628",
"rgb": {
"r": 162,
"g": 166,
"b": 40
},
"hsl": {
"h": 61.905,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.69982,
"c": 0.14133,
"h": 111.4
},
"luminance": 0.35107
}Semantic roles & 50–950 ramp
primary
#A2A628
secondary
#6A67C2
accent
#44E449
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A