#8A7120#8A7120

#8A7120 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.101 H 91.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7120
RGBrgb(138, 113, 32)
HSLhsl(46, 62%, 33%)
HSVhsv(46, 77%, 54%)
CMYKcmyk(0%, 18.1%, 76.8%, 45.9%)
CIE-LABlab(48.66, 1.05, 45.94)
CIE-LCHlch(48.66, 45.95, 88.69°)
OKLaboklab(55.79% -0.0018 0.1012)
OKLCHoklch(55.79% 0.101 91)
XYZxyz(16.6480, 17.3188, 3.8322)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7120 #20398A
analogous
#8A3C20 #8A7120 #6E8A20
triadic
#8A7120 #208A71 #71208A
tetradic
#8A7120 #208A3C #20398A #8A206E
square
#8A7120 #208A3C #20398A #8A206E
split-complementary
#8A7120 #206E8A #3C208A
monochromatic
#272009 #584814 #8A7120 #BC9A2C #D6B64E

Accessibility & contrast

On white

4.70
#8A7120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8A7120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7120
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7120#FFFFFF#000000##FFFFFF
##8A71201.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7120;
/* rgb */ color: rgb(138, 113, 32);
/* oklch */ color: oklch(55.8% 0.101 91.0);
Tailwind
colors: {
  custom: {
    50: '#b09962',
    500: '#8a7120',
    950: '#000000',
  },
}
SCSS
$custom: #8a7120;
$custom-light: #b09962;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7120",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 45.849,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.10117,
    "h": 91
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#8A7120
secondary
#4D66B9
accent
#69E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #8A7120

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

Preview Lab → · Contrast checker → · Palette generator →

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