#8A711D#8A711D

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

Color values

HEX#8A711D
RGBrgb(138, 113, 29)
HSLhsl(46, 65%, 33%)
HSVhsv(46, 79%, 54%)
CMYKcmyk(0%, 18.1%, 79%, 45.9%)
CIE-LABlab(48.64, 0.92, 47.10)
CIE-LCHlch(48.64, 47.10, 88.89°)
OKLaboklab(55.76% -0.0025 0.103)
OKLCHoklch(55.76% 0.103 91.4)
XYZxyz(16.6091, 17.3033, 3.6272)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A711D #1D368A
analogous
#8A3B1D #8A711D #6C8A1D
triadic
#8A711D #1D8A71 #711D8A
tetradic
#8A711D #1D8A3B #1D368A #8A1D6C
square
#8A711D #1D8A3B #1D368A #8A1D6C
split-complementary
#8A711D #1D6C8A #3B1D8A
monochromatic
#251E08 #574812 #8A711D #BD9A28 #D9B849

Accessibility & contrast

On white

4.71
#8A711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A711D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A711D#FFFFFF#000000##FFFFFF
##8A711D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a711d;
/* rgb */ color: rgb(138, 113, 29);
/* oklch */ color: oklch(55.8% 0.103 91.4);
Tailwind
colors: {
  custom: {
    50: '#b09960',
    500: '#8a711d',
    950: '#000000',
  },
}
SCSS
$custom: #8a711d;
$custom-light: #b09960;
$custom-dark: #000000;
JSON
{
  "hex": "#8a711d",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 46.239,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.10299,
    "h": 91.4
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#8A711D
secondary
#4862BB
accent
#66E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A711D

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

Preview Lab → · Contrast checker → · Palette generator →

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