#8A711F#8A711F

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

Color values

HEX#8A711F
RGBrgb(138, 113, 31)
HSLhsl(46, 63%, 33%)
HSVhsv(46, 78%, 54%)
CMYKcmyk(0%, 18.1%, 77.5%, 45.9%)
CIE-LABlab(48.65, 1.00, 46.33)
CIE-LCHlch(48.65, 46.34, 88.76°)
OKLaboklab(55.78% -0.002 0.1018)
OKLCHoklch(55.78% 0.102 91.1)
XYZxyz(16.6346, 17.3135, 3.7617)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A711F #1F388A
analogous
#8A3B1F #8A711F #6D8A1F
triadic
#8A711F #1F8A71 #711F8A
tetradic
#8A711F #1F8A3B #1F388A #8A1F6D
square
#8A711F #1F8A3B #1F388A #8A1F6D
split-complementary
#8A711F #1F6D8A #3B1F8A
monochromatic
#261F09 #584814 #8A711F #BC9A2A #D7B74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A711F#FFFFFF#000000##FFFFFF
##8A711F1.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)
#7E6F11
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a711f;
/* rgb */ color: rgb(138, 113, 31);
/* oklch */ color: oklch(55.8% 0.102 91.1);
Tailwind
colors: {
  custom: {
    50: '#b09961',
    500: '#8a711f',
    950: '#000000',
  },
}
SCSS
$custom: #8a711f;
$custom-light: #b09961;
$custom-dark: #000000;
JSON
{
  "hex": "#8a711f",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 45.981,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.10179,
    "h": 91.1
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#8A711F
secondary
#4B65BA
accent
#68E641
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A711F

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

Preview Lab → · Contrast checker → · Palette generator →

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