#8A7E45#8A7E45
#8A7E45 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.078 H 97.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7E45 |
|---|---|
| RGB | rgb(138, 126, 69) |
| HSL | hsl(50, 33%, 41%) |
| HSV | hsv(50, 50%, 54%) |
| CMYK | cmyk(0%, 8.7%, 50%, 45.9%) |
| CIE-LAB | lab(52.68, -3.60, 32.49) |
| CIE-LCH | lch(52.68, 32.69, 96.32°) |
| OKLab | oklab(59.09% -0.0105 0.0777) |
| OKLCH | oklch(59.09% 0.078 97.7) |
| XYZ | xyz(19.0168, 20.7554, 8.6335) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.64
Dark Khaki
#9B8F55
ΔE00 6.11
Hazel
#8E7618
ΔE00 7.31
Olive Drab
#6F7632
ΔE00 8.13
Brown Grey
#8D8468
ΔE00 8.15
Dark Sand
#A88F59
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7E45 #45518A
analogous
#8A5B45 #8A7E45 #738A45
triadic
#8A7E45 #458A7E #7E458A
tetradic
#8A7E45 #458A5B #45518A #8A4573
square
#8A7E45 #458A5B #45518A #8A4573
split-complementary
#8A7E45 #45738A #5B458A
monochromatic
#38331C #615931 #8A7E45 #AEA05E #C3B887
Accessibility & contrast
On white
4.08
#8A7E45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8A7E45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7E45
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7E45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7E45 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#8B8047
Tritanopia (blue-blind)
#937770
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7e45; /* rgb */ color: rgb(138, 126, 69); /* oklch */ color: oklch(59.1% 0.078 97.7);
Tailwind
colors: {
custom: {
50: '#aea37a',
500: '#8a7e45',
950: '#000000',
},
}SCSS
$custom: #8a7e45; $custom-light: #aea37a; $custom-dark: #000000;
JSON
{
"hex": "#8a7e45",
"rgb": {
"r": 138,
"g": 126,
"b": 69
},
"hsl": {
"h": 49.565,
"s": 33.333,
"l": 40.588
},
"oklch": {
"l": 0.59085,
"c": 0.07839,
"h": 97.7
},
"luminance": 0.20755
}Semantic roles & 50–950 ramp
primary
#8A7E45
secondary
#7D85AE
accent
#71C95E
background
#FAFAF7
surface
#F4F3ED
border
#CECDC8
text
#100F09
muted
#7F7F7B