#8A7420#8A7420

#8A7420 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.103 H 93.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7420
RGBrgb(138, 116, 32)
HSLhsl(48, 62%, 33%)
HSVhsv(48, 77%, 54%)
CMYKcmyk(0%, 15.9%, 76.8%, 45.9%)
CIE-LABlab(49.50, -0.66, 46.74)
CIE-LCHlch(49.50, 46.74, 90.81°)
OKLaboklab(56.45% -0.0067 0.1029)
OKLCHoklch(56.45% 0.103 93.7)
XYZxyz(16.9883, 17.9993, 3.9456)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7420 #20368A
analogous
#8A3F20 #8A7420 #6B8A20
triadic
#8A7420 #208A74 #74208A
tetradic
#8A7420 #208A3F #20368A #8A206B
square
#8A7420 #208A3F #20368A #8A206B
split-complementary
#8A7420 #206B8A #3F208A
monochromatic
#272009 #584A14 #8A7420 #BC9E2C #D6BA4E

Accessibility & contrast

On white

4.57
#8A7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A7420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7420
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7420#FFFFFF#000000##000000
##8A74201.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#877825
Tritanopia (blue-blind)
#966A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7420;
/* rgb */ color: rgb(138, 116, 32);
/* oklch */ color: oklch(56.4% 0.103 93.7);
Tailwind
colors: {
  custom: {
    50: '#b09b62',
    500: '#8a7420',
    950: '#000000',
  },
}
SCSS
$custom: #8a7420;
$custom-light: #b09b62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7420",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 47.547,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.10307,
    "h": 93.7
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#8A7420
secondary
#4D63B9
accent
#64E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7420

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

Preview Lab → · Contrast checker → · Palette generator →

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