#A5A751#A5A751
#A5A751 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.110 H 110.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A751 |
|---|---|
| RGB | rgb(165, 167, 81) |
| HSL | hsl(61, 35%, 49%) |
| HSV | hsv(61, 51%, 65%) |
| CMYK | cmyk(1.2%, 0%, 51.5%, 34.5%) |
| CIE-LAB | lab(66.70, -12.94, 43.71) |
| CIE-LCH | lch(66.70, 45.59, 106.49°) |
| OKLab | oklab(70.84% -0.0377 0.103) |
| OKLCH | oklch(70.84% 0.11 110.1) |
| XYZ | xyz(30.8217, 36.2315, 13.1528) |
| Luminance | 0.3623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.43
Darkkhaki
#BDB76B
ΔE00 5.81
Vomit
#A2A415
ΔE00 6.24
Pea Soup Green
#94A617
ΔE00 6.68
Booger
#9BB53C
ΔE00 6.90
Puke
#A5A502
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A751 #5351A7
analogous
#A77E51 #A5A751 #7AA751
triadic
#A5A751 #51A5A7 #A751A5
tetradic
#A5A751 #51A77E #5351A7 #A7517A
square
#A5A751 #51A77E #5351A7 #A7517A
split-complementary
#A5A751 #517AA7 #7E51A7
monochromatic
#545529 #7C7E3D #A5A751 #BCBD78 #D0D1A1
Accessibility & contrast
On white
2.55
#A5A751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#A5A751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A751
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A751 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A149
Deuteranopia (green-blind)
#B3A455
Tritanopia (blue-blind)
#AF9E94
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a751; /* rgb */ color: rgb(165, 167, 81); /* oklch */ color: oklch(70.8% 0.110 110.1);
Tailwind
colors: {
custom: {
50: '#c1c184',
500: '#a5a751',
950: '#000000',
},
}SCSS
$custom: #a5a751; $custom-light: #c1c184; $custom-dark: #000000;
JSON
{
"hex": "#a5a751",
"rgb": {
"r": 165,
"g": 167,
"b": 81
},
"hsl": {
"h": 61.395,
"s": 34.677,
"l": 48.627
},
"oklch": {
"l": 0.70841,
"c": 0.10963,
"h": 110.1
},
"luminance": 0.36231
}Semantic roles & 50–950 ramp
primary
#A5A751
secondary
#9695BF
accent
#5DCB60
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C