#A2A830#A2A830
#A2A830 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.139 H 112.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A830 |
|---|---|
| RGB | rgb(162, 168, 48) |
| HSL | hsl(63, 56%, 42%) |
| HSV | hsv(63, 71%, 66%) |
| CMYK | cmyk(3.6%, 0%, 71.4%, 34.1%) |
| CIE-LAB | lab(66.44, -17.07, 57.77) |
| CIE-LCH | lch(66.44, 60.24, 106.46°) |
| OKLab | oklab(70.49% -0.0526 0.1283) |
| OKLCH | oklch(70.49% 0.139 112.3) |
| XYZ | xyz(29.4373, 35.9007, 8.1746) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.49
Pea Soup Green
#94A617
ΔE00 3.22
Puke
#A5A502
ΔE00 3.38
Puke Green
#9AAE07
ΔE00 3.87
Barf Green
#94AC02
ΔE00 4.35
Mustard Green
#A8B504
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A830 #3630A8
analogous
#A87230 #A2A830 #66A830
triadic
#A2A830 #30A2A8 #A830A2
tetradic
#A2A830 #30A872 #3630A8 #A83066
square
#A2A830 #30A872 #3630A8 #A83066
split-complementary
#A2A830 #3066A8 #7230A8
monochromatic
#464915 #747822 #A2A830 #C5CB4A #D4D97A
Accessibility & contrast
On white
2.57
#A2A830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A2A830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A830
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A830 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a830; /* rgb */ color: rgb(162, 168, 48); /* oklch */ color: oklch(70.5% 0.139 112.3);
Tailwind
colors: {
custom: {
50: '#c1c171',
500: '#a2a830',
950: '#000000',
},
}SCSS
$custom: #a2a830; $custom-light: #c1c171; $custom-dark: #000000;
JSON
{
"hex": "#a2a830",
"rgb": {
"r": 162,
"g": 168,
"b": 48
},
"hsl": {
"h": 63,
"s": 55.556,
"l": 42.353
},
"oklch": {
"l": 0.70486,
"c": 0.13872,
"h": 112.3
},
"luminance": 0.359
}Semantic roles & 50–950 ramp
primary
#A2A830
secondary
#7773C1
accent
#49DF50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B