#8A7720#8A7720

#8A7720 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.105 H 96.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A7720
RGBrgb(138, 119, 32)
HSLhsl(49, 62%, 33%)
HSVhsv(49, 77%, 54%)
CMYKcmyk(0%, 13.8%, 76.8%, 45.9%)
CIE-LABlab(50.34, -2.36, 47.54)
CIE-LCHlch(50.34, 47.60, 92.84°)
OKLaboklab(57.11% -0.0115 0.1046)
OKLCHoklch(57.11% 0.105 96.3)
XYZxyz(17.3397, 18.7021, 4.0628)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7720 #20338A
analogous
#8A4220 #8A7720 #688A20
triadic
#8A7720 #208A77 #77208A
tetradic
#8A7720 #208A42 #20338A #8A2068
square
#8A7720 #208A42 #20338A #8A2068
split-complementary
#8A7720 #20688A #42208A
monochromatic
#272109 #584C14 #8A7720 #BCA22C #D6BE4E

Accessibility & contrast

On white

4.43
#8A7720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A7720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7720
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7720#FFFFFF#000000##000000
##8A77201.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7720;
/* rgb */ color: rgb(138, 119, 32);
/* oklch */ color: oklch(57.1% 0.105 96.3);
Tailwind
colors: {
  custom: {
    50: '#b09d62',
    500: '#8a7720',
    950: '#000000',
  },
}
SCSS
$custom: #8a7720;
$custom-light: #b09d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7720",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 49.245,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.10519,
    "h": 96.3
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#8A7720
secondary
#4D60B9
accent
#60E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7720

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

Preview Lab → · Contrast checker → · Palette generator →

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