#A2A338#A2A338
#A2A338 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.128 H 109.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A338 |
|---|---|
| RGB | rgb(162, 163, 56) |
| HSL | hsl(61, 49%, 43%) |
| HSV | hsv(61, 66%, 64%) |
| CMYK | cmyk(0.6%, 0%, 65.6%, 36.1%) |
| CIE-LAB | lab(65.09, -14.04, 53.27) |
| CIE-LCH | lch(65.09, 55.09, 104.77°) |
| OKLab | oklab(69.42% -0.0433 0.1202) |
| OKLCH | oklch(69.42% 0.128 109.8) |
| XYZ | xyz(28.7122, 34.1621, 8.8221) |
| Luminance | 0.3416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.11
Puke
#A5A502
ΔE00 4.04
Pea Soup Green
#94A617
ΔE00 4.58
Pea Soup
#929901
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 5.12
Puke Green
#9AAE07
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A338 #3938A3
analogous
#A36E38 #A2A338 #6CA338
triadic
#A2A338 #38A2A3 #A338A2
tetradic
#A2A338 #38A36E #3938A3 #A3386C
square
#A2A338 #38A36E #3938A3 #A3386C
split-complementary
#A2A338 #386CA3 #6E38A3
monochromatic
#474819 #757528 #A2A338 #C3C454 #D3D482
Accessibility & contrast
On white
2.68
#A2A338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A2A338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A338
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A338 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a338; /* rgb */ color: rgb(162, 163, 56); /* oklch */ color: oklch(69.4% 0.128 109.8);
Tailwind
colors: {
custom: {
50: '#c0be74',
500: '#a2a338',
950: '#000000',
},
}SCSS
$custom: #a2a338; $custom-light: #c0be74; $custom-dark: #000000;
JSON
{
"hex": "#a2a338",
"rgb": {
"r": 162,
"g": 163,
"b": 56
},
"hsl": {
"h": 60.561,
"s": 48.858,
"l": 42.941
},
"oklch": {
"l": 0.69422,
"c": 0.12777,
"h": 109.8
},
"luminance": 0.34161
}Semantic roles & 50–950 ramp
primary
#A2A338
secondary
#7A79BD
accent
#4FD851
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B