#A2A730#A2A730
#A2A730 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.138 H 111.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A730 |
|---|---|
| RGB | rgb(162, 167, 48) |
| HSL | hsl(63, 55%, 42%) |
| HSV | hsv(63, 71%, 65%) |
| CMYK | cmyk(3%, 0%, 71.3%, 34.5%) |
| CIE-LAB | lab(66.16, -16.56, 57.50) |
| CIE-LCH | lch(66.16, 59.83, 106.07°) |
| OKLab | oklab(70.26% -0.0512 0.1278) |
| OKLCH | oklch(70.26% 0.138 111.8) |
| XYZ | xyz(29.2534, 35.5329, 8.1133) |
| Luminance | 0.3553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.33
Puke
#A5A502
ΔE00 3.26
Pea Soup Green
#94A617
ΔE00 3.36
Puke Green
#9AAE07
ΔE00 4.15
Barf Green
#94AC02
ΔE00 4.60
Pea Soup
#929901
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A730 #3530A7
analogous
#A77130 #A2A730 #67A730
triadic
#A2A730 #30A2A7 #A730A2
tetradic
#A2A730 #30A771 #3530A7 #A73067
square
#A2A730 #30A771 #3530A7 #A73067
split-complementary
#A2A730 #3067A7 #7130A7
monochromatic
#464815 #747722 #A2A730 #C5CB49 #D4D879
Accessibility & contrast
On white
2.59
#A2A730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A2A730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A730
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A730 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a730; /* rgb */ color: rgb(162, 167, 48); /* oklch */ color: oklch(70.3% 0.138 111.8);
Tailwind
colors: {
custom: {
50: '#c1c070',
500: '#a2a730',
950: '#000000',
},
}SCSS
$custom: #a2a730; $custom-light: #c1c070; $custom-dark: #000000;
JSON
{
"hex": "#a2a730",
"rgb": {
"r": 162,
"g": 167,
"b": 48
},
"hsl": {
"h": 62.521,
"s": 55.349,
"l": 42.157
},
"oklch": {
"l": 0.7026,
"c": 0.13764,
"h": 111.8
},
"luminance": 0.35532
}Semantic roles & 50–950 ramp
primary
#A2A730
secondary
#7572C1
accent
#49DF4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B