#A2A751#A2A751
#A2A751 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.110 H 111.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A751 |
|---|---|
| RGB | rgb(162, 167, 81) |
| HSL | hsl(63, 35%, 49%) |
| HSV | hsv(63, 51%, 65%) |
| CMYK | cmyk(3%, 0%, 51.5%, 34.5%) |
| CIE-LAB | lab(66.45, -14.20, 43.37) |
| CIE-LCH | lch(66.45, 45.63, 108.13°) |
| OKLab | oklab(70.59% -0.0411 0.1022) |
| OKLCH | oklch(70.59% 0.11 111.9) |
| XYZ | xyz(30.2048, 35.9135, 13.1238) |
| Luminance | 0.3591 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.84
Darkkhaki
#BDB76B
ΔE00 6.29
Pea Soup Green
#94A617
ΔE00 6.40
Booger
#9BB53C
ΔE00 6.43
Vomit
#A2A415
ΔE00 6.48
Light Olive
#ACBF69
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A751 #5651A7
analogous
#A78151 #A2A751 #77A751
triadic
#A2A751 #51A2A7 #A751A2
tetradic
#A2A751 #51A781 #5651A7 #A75177
square
#A2A751 #51A781 #5651A7 #A75177
split-complementary
#A2A751 #5177A7 #8151A7
monochromatic
#525529 #7A7E3D #A2A751 #B9BD78 #CFD1A1
Accessibility & contrast
On white
2.57
#A2A751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A2A751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A751
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A751 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#AB9E93
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a751; /* rgb */ color: rgb(162, 167, 81); /* oklch */ color: oklch(70.6% 0.110 111.9);
Tailwind
colors: {
custom: {
50: '#bfc184',
500: '#a2a751',
950: '#000000',
},
}SCSS
$custom: #a2a751; $custom-light: #bfc184; $custom-dark: #000000;
JSON
{
"hex": "#a2a751",
"rgb": {
"r": 162,
"g": 167,
"b": 81
},
"hsl": {
"h": 63.488,
"s": 34.677,
"l": 48.627
},
"oklch": {
"l": 0.70587,
"c": 0.11018,
"h": 111.9
},
"luminance": 0.35913
}Semantic roles & 50–950 ramp
primary
#A2A751
secondary
#9895BF
accent
#5DCB63
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#12120B
muted
#81817C