#8A711C#8A711C

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

Color values

HEX#8A711C
RGBrgb(138, 113, 28)
HSLhsl(46, 66%, 33%)
HSVhsv(46, 80%, 54%)
CMYKcmyk(0%, 18.1%, 79.7%, 45.9%)
CIE-LABlab(48.63, 0.87, 47.47)
CIE-LCHlch(48.63, 47.47, 88.94°)
OKLaboklab(55.76% -0.0027 0.1035)
OKLCHoklch(55.76% 0.104 91.5)
XYZxyz(16.5969, 17.2984, 3.5631)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A711C #1C358A
analogous
#8A3A1C #8A711C #6C8A1C
triadic
#8A711C #1C8A71 #711C8A
tetradic
#8A711C #1C8A3A #1C358A #8A1C6C
square
#8A711C #1C8A3A #1C358A #8A1C6C
split-complementary
#8A711C #1C6C8A #3A1C8A
monochromatic
#241E07 #574712 #8A711C #BD9B26 #DAB847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A711C#FFFFFF#000000##FFFFFF
##8A711C1.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)
#7E6F0B
Deuteranopia (green-blind)
#857621
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a711c;
/* rgb */ color: rgb(138, 113, 28);
/* oklch */ color: oklch(55.8% 0.104 91.5);
Tailwind
colors: {
  custom: {
    50: '#b09960',
    500: '#8a711c',
    950: '#000000',
  },
}
SCSS
$custom: #8a711c;
$custom-light: #b09960;
$custom-dark: #000000;
JSON
{
  "hex": "#8a711c",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 46.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.10357,
    "h": 91.5
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#8A711C
secondary
#4661BB
accent
#65E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A711C

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

Preview Lab → · Contrast checker → · Palette generator →

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