#A2A841#A2A841
#A2A841 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.126 H 112.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A841 |
|---|---|
| RGB | rgb(162, 168, 65) |
| HSL | hsl(63, 44%, 46%) |
| HSV | hsv(63, 61%, 66%) |
| CMYK | cmyk(3.6%, 0%, 61.3%, 34.1%) |
| CIE-LAB | lab(66.57, -16.02, 50.98) |
| CIE-LCH | lch(66.57, 53.43, 107.45°) |
| OKLab | oklab(70.63% -0.0479 0.1167) |
| OKLCH | oklch(70.63% 0.126 112.3) |
| XYZ | xyz(29.8578, 36.0689, 10.3891) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.27
Pea Soup Green
#94A617
ΔE00 4.34
Puke
#A5A502
ΔE00 5.19
Puke Green
#9AAE07
ΔE00 5.26
Booger
#9BB53C
ΔE00 5.30
Barf Green
#94AC02
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A841 #4741A8
analogous
#A87A41 #A2A841 #6EA841
triadic
#A2A841 #41A2A8 #A841A2
tetradic
#A2A841 #41A87A #4741A8 #A8416E
square
#A2A841 #41A87A #4741A8 #A8416E
split-complementary
#A2A841 #416EA8 #7A41A8
monochromatic
#4D501F #777C30 #A2A841 #BDC363 #D0D490
Accessibility & contrast
On white
2.56
#A2A841 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A2A841 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A841
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A841 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A841 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#AC9E92
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a841; /* rgb */ color: rgb(162, 168, 65); /* oklch */ color: oklch(70.6% 0.126 112.3);
Tailwind
colors: {
custom: {
50: '#c0c17a',
500: '#a2a841',
950: '#000000',
},
}SCSS
$custom: #a2a841; $custom-light: #c0c17a; $custom-dark: #000000;
JSON
{
"hex": "#a2a841",
"rgb": {
"r": 162,
"g": 168,
"b": 65
},
"hsl": {
"h": 63.495,
"s": 44.206,
"l": 45.686
},
"oklch": {
"l": 0.7063,
"c": 0.12615,
"h": 112.3
},
"luminance": 0.36068
}Semantic roles & 50–950 ramp
primary
#A2A841
secondary
#8986BF
accent
#54D45B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B