#A2A938#A2A938
#A2A938 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.134 H 112.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A938 |
|---|---|
| RGB | rgb(162, 169, 56) |
| HSL | hsl(64, 50%, 44%) |
| HSV | hsv(64, 67%, 66%) |
| CMYK | cmyk(4.1%, 0%, 66.9%, 33.7%) |
| CIE-LAB | lab(66.78, -17.13, 55.01) |
| CIE-LCH | lch(66.78, 57.62, 107.30°) |
| OKLab | oklab(70.77% -0.052 0.1239) |
| OKLCH | oklch(70.77% 0.134 112.8) |
| XYZ | xyz(29.8029, 36.3435, 9.1856) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.39
Pea Soup Green
#94A617
ΔE00 3.50
Puke Green
#9AAE07
ΔE00 4.18
Puke
#A5A502
ΔE00 4.27
Barf Green
#94AC02
ΔE00 4.59
Booger
#9BB53C
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A938 #3F38A9
analogous
#A97838 #A2A938 #6AA938
triadic
#A2A938 #38A2A9 #A938A2
tetradic
#A2A938 #38A978 #3F38A9 #A9386A
square
#A2A938 #38A978 #3F38A9 #A9386A
split-complementary
#A2A938 #386AA9 #7838A9
monochromatic
#4A4D1A #767B29 #A2A938 #C0C757 #D1D785
Accessibility & contrast
On white
2.54
#A2A938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#A2A938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A938
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A938 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#AD9F92
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a938; /* rgb */ color: rgb(162, 169, 56); /* oklch */ color: oklch(70.8% 0.134 112.8);
Tailwind
colors: {
custom: {
50: '#c0c275',
500: '#a2a938',
950: '#000000',
},
}SCSS
$custom: #a2a938; $custom-light: #c0c275; $custom-dark: #000000;
JSON
{
"hex": "#a2a938",
"rgb": {
"r": 162,
"g": 169,
"b": 56
},
"hsl": {
"h": 63.717,
"s": 50.222,
"l": 44.118
},
"oklch": {
"l": 0.70774,
"c": 0.13434,
"h": 112.8
},
"luminance": 0.36343
}Semantic roles & 50–950 ramp
primary
#A2A938
secondary
#817CC0
accent
#4EDA57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B