#A2A334#A2A334
#A2A334 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.131 H 109.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A334 |
|---|---|
| RGB | rgb(162, 163, 52) |
| HSL | hsl(61, 52%, 42%) |
| HSV | hsv(61, 68%, 64%) |
| CMYK | cmyk(0.6%, 0%, 68.1%, 36.1%) |
| CIE-LAB | lab(65.06, -14.28, 54.87) |
| CIE-LCH | lch(65.06, 56.69, 104.59°) |
| OKLab | oklab(69.39% -0.0444 0.1229) |
| OKLCH | oklch(69.39% 0.131 109.9) |
| XYZ | xyz(28.6183, 34.1245, 8.3273) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.64
Puke
#A5A502
ΔE00 3.59
Pea Soup Green
#94A617
ΔE00 4.37
Pea Soup
#929901
ΔE00 4.52
Baby Poop Green
#8F9805
ΔE00 4.90
Puke Green
#9AAE07
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A334 #3534A3
analogous
#A36D34 #A2A334 #6AA334
triadic
#A2A334 #34A2A3 #A334A2
tetradic
#A2A334 #34A36D #3534A3 #A3346A
square
#A2A334 #34A36D #3534A3 #A3346A
split-complementary
#A2A334 #346AA3 #6D34A3
monochromatic
#464616 #747525 #A2A334 #C5C64E #D4D57C
Accessibility & contrast
On white
2.68
#A2A334 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A2A334 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A334
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A334 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A334 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C23
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a334; /* rgb */ color: rgb(162, 163, 52); /* oklch */ color: oklch(69.4% 0.131 109.9);
Tailwind
colors: {
custom: {
50: '#c1be72',
500: '#a2a334',
950: '#000000',
},
}SCSS
$custom: #a2a334; $custom-light: #c1be72; $custom-dark: #000000;
JSON
{
"hex": "#a2a334",
"rgb": {
"r": 162,
"g": 163,
"b": 52
},
"hsl": {
"h": 60.541,
"s": 51.628,
"l": 42.157
},
"oklch": {
"l": 0.69389,
"c": 0.13068,
"h": 109.9
},
"luminance": 0.34124
}Semantic roles & 50–950 ramp
primary
#A2A334
secondary
#7575BE
accent
#4DDB4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B