#A7A137#A7A137
#A7A137 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.126 H 106.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A137 |
|---|---|
| RGB | rgb(167, 161, 55) |
| HSL | hsl(57, 50%, 44%) |
| HSV | hsv(57, 67%, 65%) |
| CMYK | cmyk(0%, 3.6%, 67.1%, 34.5%) |
| CIE-LAB | lab(64.95, -10.88, 53.67) |
| CIE-LCH | lch(64.95, 54.76, 101.46°) |
| OKLab | oklab(69.41% -0.0348 0.1207) |
| OKLCH | oklch(69.41% 0.126 106.1) |
| XYZ | xyz(29.3719, 33.9821, 8.6257) |
| Luminance | 0.3398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.52
Puke
#A5A502
ΔE00 4.08
Pea Soup
#929901
ΔE00 5.39
Baby Poop Green
#8F9805
ΔE00 5.87
Pea Soup Green
#94A617
ΔE00 6.23
Khaki (survey)
#AAA662
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A137 #373DA7
analogous
#A76937 #A7A137 #75A737
triadic
#A7A137 #37A7A1 #A137A7
tetradic
#A7A137 #37A769 #373DA7 #A73775
square
#A7A137 #37A769 #373DA7 #A73775
split-complementary
#A7A137 #3775A7 #6937A7
monochromatic
#4B4819 #797528 #A7A137 #C7C154 #D6D182
Accessibility & contrast
On white
2.69
#A7A137 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A7A137 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A137
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A137 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A137 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a137; /* rgb */ color: rgb(167, 161, 55); /* oklch */ color: oklch(69.4% 0.126 106.1);
Tailwind
colors: {
custom: {
50: '#c4bc74',
500: '#a7a137',
950: '#000000',
},
}SCSS
$custom: #a7a137; $custom-light: #c4bc74; $custom-dark: #000000;
JSON
{
"hex": "#a7a137",
"rgb": {
"r": 167,
"g": 161,
"b": 55
},
"hsl": {
"h": 56.786,
"s": 50.45,
"l": 43.529
},
"oklch": {
"l": 0.69409,
"c": 0.12565,
"h": 106.1
},
"luminance": 0.33981
}Semantic roles & 50–950 ramp
primary
#A7A137
secondary
#7A7EC0
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B