#A2A239#A2A239
#A2A239 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.126 H 109.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A239 |
|---|---|
| RGB | rgb(162, 162, 57) |
| HSL | hsl(60, 48%, 43%) |
| HSV | hsv(60, 65%, 64%) |
| CMYK | cmyk(0%, 0%, 64.8%, 36.5%) |
| CIE-LAB | lab(64.82, -13.46, 52.57) |
| CIE-LCH | lch(64.82, 54.26, 104.36°) |
| OKLab | oklab(69.21% -0.0416 0.1189) |
| OKLCH | oklch(69.21% 0.126 109.3) |
| XYZ | xyz(28.5601, 33.8183, 8.8932) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.33
Puke
#A5A502
ΔE00 4.24
Pea Soup
#929901
ΔE00 4.81
Pea Soup Green
#94A617
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.13
Baby Shit Green
#889717
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A239 #3939A2
analogous
#A26D39 #A2A239 #6DA239
triadic
#A2A239 #39A2A2 #A239A2
tetradic
#A2A239 #39A26D #3939A2 #A2396D
square
#A2A239 #39A26D #3939A2 #A2396D
split-complementary
#A2A239 #396DA2 #6D39A2
monochromatic
#474719 #757529 #A2A239 #C3C355 #D3D382
Accessibility & contrast
On white
2.71
#A2A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A2A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A239
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A239 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B2B
Deuteranopia (green-blind)
#B09F40
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a239; /* rgb */ color: rgb(162, 162, 57); /* oklch */ color: oklch(69.2% 0.126 109.3);
Tailwind
colors: {
custom: {
50: '#c0bd75',
500: '#a2a239',
950: '#000000',
},
}SCSS
$custom: #a2a239; $custom-light: #c0bd75; $custom-dark: #000000;
JSON
{
"hex": "#a2a239",
"rgb": {
"r": 162,
"g": 162,
"b": 57
},
"hsl": {
"h": 60,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.69207,
"c": 0.12593,
"h": 109.3
},
"luminance": 0.33817
}Semantic roles & 50–950 ramp
primary
#A2A239
secondary
#7A7ABD
accent
#50D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B