#A5A137#A5A137
#A5A137 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.126 H 107.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A137 |
|---|---|
| RGB | rgb(165, 161, 55) |
| HSL | hsl(58, 50%, 43%) |
| HSV | hsv(58, 67%, 65%) |
| CMYK | cmyk(0%, 2.4%, 66.7%, 35.3%) |
| CIE-LAB | lab(64.78, -11.75, 53.44) |
| CIE-LCH | lch(64.78, 54.72, 102.40°) |
| OKLab | oklab(69.23% -0.0372 0.1203) |
| OKLCH | oklch(69.23% 0.126 107.2) |
| XYZ | xyz(28.9525, 33.7659, 8.6060) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.33
Puke
#A5A502
ΔE00 4.02
Pea Soup
#929901
ΔE00 5.04
Baby Poop Green
#8F9805
ΔE00 5.48
Pea Soup Green
#94A617
ΔE00 5.74
Khaki (survey)
#AAA662
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A137 #373BA5
analogous
#A56A37 #A5A137 #72A537
triadic
#A5A137 #37A5A1 #A137A5
tetradic
#A5A137 #37A56A #373BA5 #A53772
square
#A5A137 #37A56A #373BA5 #A53772
split-complementary
#A5A137 #3772A5 #6A37A5
monochromatic
#494718 #777428 #A5A137 #C6C253 #D5D281
Accessibility & contrast
On white
2.71
#A5A137 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A5A137 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A137
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A137 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A137 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a137; /* rgb */ color: rgb(165, 161, 55); /* oklch */ color: oklch(69.2% 0.126 107.2);
Tailwind
colors: {
custom: {
50: '#c3bc74',
500: '#a5a137',
950: '#000000',
},
}SCSS
$custom: #a5a137; $custom-light: #c3bc74; $custom-dark: #000000;
JSON
{
"hex": "#a5a137",
"rgb": {
"r": 165,
"g": 161,
"b": 55
},
"hsl": {
"h": 57.818,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.6923,
"c": 0.12591,
"h": 107.2
},
"luminance": 0.33765
}Semantic roles & 50–950 ramp
primary
#A5A137
secondary
#797CBF
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B