#8A7D52#8A7D52
#8A7D52 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.1% C 0.062 H 93.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D52 |
|---|---|
| RGB | rgb(138, 125, 82) |
| HSL | hsl(46, 25%, 43%) |
| HSV | hsv(46, 41%, 54%) |
| CMYK | cmyk(0%, 9.4%, 40.6%, 45.9%) |
| CIE-LAB | lab(52.60, -1.60, 25.25) |
| CIE-LCH | lch(52.60, 25.30, 93.63°) |
| OKLab | oklab(59.08% -0.0035 0.0621) |
| OKLCH | oklch(59.08% 0.062 93.2) |
| XYZ | xyz(19.3383, 20.6804, 10.9541) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 5.25
Grey Brown
#7F7053
ΔE00 6.52
Brownish Grey
#86775F
ΔE00 6.68
Drab
#828344
ΔE00 6.82
Dark Khaki
#9B8F55
ΔE00 7.10
Dirt
#8A6E45
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D52 #525F8A
analogous
#8A6152 #8A7D52 #7B8A52
triadic
#8A7D52 #528A7D #7D528A
tetradic
#8A7D52 #528A61 #525F8A #8A527B
square
#8A7D52 #528A61 #525F8A #8A527B
split-complementary
#8A7D52 #527B8A #61528A
monochromatic
#3D3724 #645A3B #8A7D52 #AA9C6F #C1B796
Accessibility & contrast
On white
4.09
#8A7D52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8A7D52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D52
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D52 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867B4F
Deuteranopia (green-blind)
#897F53
Tritanopia (blue-blind)
#927772
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a7d52; /* rgb */ color: rgb(138, 125, 82); /* oklch */ color: oklch(59.1% 0.062 93.2);
Tailwind
colors: {
custom: {
50: '#ada283',
500: '#8a7d52',
950: '#000000',
},
}SCSS
$custom: #8a7d52; $custom-light: #ada283; $custom-dark: #000000;
JSON
{
"hex": "#8a7d52",
"rgb": {
"r": 138,
"g": 125,
"b": 82
},
"hsl": {
"h": 46.071,
"s": 25.455,
"l": 43.137
},
"oklch": {
"l": 0.59084,
"c": 0.06222,
"h": 93.2
},
"luminance": 0.2068
}Semantic roles & 50–950 ramp
primary
#8A7D52
secondary
#8A92AE
accent
#7BC266
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#100F0A
muted
#7F7E7C