#A5A25B#A5A25B
#A5A25B is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.093 H 106.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A25B |
|---|---|
| RGB | rgb(165, 162, 91) |
| HSL | hsl(58, 29%, 50%) |
| HSV | hsv(58, 45%, 65%) |
| CMYK | cmyk(0%, 1.8%, 44.8%, 35.3%) |
| CIE-LAB | lab(65.43, -9.34, 37.16) |
| CIE-LCH | lch(65.43, 38.32, 104.11°) |
| OKLab | oklab(69.88% -0.0264 0.0894) |
| OKLCH | oklch(69.88% 0.093 106.4) |
| XYZ | xyz(30.3263, 34.5961, 14.9757) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.46
Darkkhaki
#BDB76B
ΔE00 6.27
Dark Khaki
#9B8F55
ΔE00 6.58
Moss Green
#8A9A5B
ΔE00 6.99
Vomit
#A2A415
ΔE00 8.40
Sand
#C2B280
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A25B #5B5EA5
analogous
#A57D5B #A5A25B #83A55B
triadic
#A5A25B #5BA5A2 #A25BA5
tetradic
#A5A25B #5BA57D #5B5EA5 #A55B83
square
#A5A25B #5BA57D #5B5EA5 #A55B83
split-complementary
#A5A25B #5B83A5 #7D5BA5
monochromatic
#56552F #7E7B45 #A5A25B #BBB883 #D0CFAA
Accessibility & contrast
On white
2.65
#A5A25B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A5A25B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A25B
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A25B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A25B | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9D55
Deuteranopia (green-blind)
#AEA05E
Tritanopia (blue-blind)
#AF9A91
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a25b; /* rgb */ color: rgb(165, 162, 91); /* oklch */ color: oklch(69.9% 0.093 106.4);
Tailwind
colors: {
custom: {
50: '#c1bd8b',
500: '#a5a25b',
950: '#000000',
},
}SCSS
$custom: #a5a25b; $custom-light: #c1bd8b; $custom-dark: #000000;
JSON
{
"hex": "#a5a25b",
"rgb": {
"r": 165,
"g": 162,
"b": 91
},
"hsl": {
"h": 57.568,
"s": 29.134,
"l": 50.196
},
"oklch": {
"l": 0.69875,
"c": 0.09318,
"h": 106.4
},
"luminance": 0.34595
}Semantic roles & 50–950 ramp
primary
#A5A25B
secondary
#9D9FBE
accent
#66C562
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D