#8A7520#8A7520

#8A7520 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.104 H 94.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7520
RGBrgb(138, 117, 32)
HSLhsl(48, 62%, 33%)
HSVhsv(48, 77%, 54%)
CMYKcmyk(0%, 15.2%, 76.8%, 45.9%)
CIE-LABlab(49.78, -1.23, 47.01)
CIE-LCHlch(49.78, 47.02, 91.49°)
OKLaboklab(56.67% -0.0083 0.1034)
OKLCHoklch(56.67% 0.104 94.6)
XYZxyz(17.1042, 18.2311, 3.9843)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7520 #20358A
analogous
#8A4020 #8A7520 #6A8A20
triadic
#8A7520 #208A75 #75208A
tetradic
#8A7520 #208A40 #20358A #8A206A
square
#8A7520 #208A40 #20358A #8A206A
split-complementary
#8A7520 #206A8A #40208A
monochromatic
#272109 #584B14 #8A7520 #BC9F2C #D6BB4E

Accessibility & contrast

On white

4.52
#8A7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A7520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7520
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7520#FFFFFF#000000##000000
##8A75201.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827311
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7520;
/* rgb */ color: rgb(138, 117, 32);
/* oklch */ color: oklch(56.7% 0.104 94.6);
Tailwind
colors: {
  custom: {
    50: '#b09c62',
    500: '#8a7520',
    950: '#000000',
  },
}
SCSS
$custom: #8a7520;
$custom-light: #b09c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7520",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 48.113,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.10375,
    "h": 94.6
  },
  "luminance": 0.1823
}

Semantic roles & 50–950 ramp

primary
#8A7520
secondary
#4D62B9
accent
#63E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7520

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A7520 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva