#8A711A#8A711A

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

Color values

HEX#8A711A
RGBrgb(138, 113, 26)
HSLhsl(47, 68%, 32%)
HSVhsv(47, 81%, 54%)
CMYKcmyk(0%, 18.1%, 81.2%, 45.9%)
CIE-LABlab(48.62, 0.79, 48.18)
CIE-LCHlch(48.62, 48.19, 89.06°)
OKLaboklab(55.74% -0.0032 0.1046)
OKLCHoklch(55.74% 0.105 91.7)
XYZxyz(16.5738, 17.2891, 3.4413)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A711A #1A338A
analogous
#8A391A #8A711A #6B8A1A
triadic
#8A711A #1A8A71 #711A8A
tetradic
#8A711A #1A8A39 #1A338A #8A1A6B
square
#8A711A #1A8A39 #1A338A #8A1A6B
split-complementary
#8A711A #1A6B8A #391A8A
monochromatic
#231D07 #574710 #8A711A #BD9B24 #DCB943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A711A#FFFFFF#000000##FFFFFF
##8A711A1.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)
#7E6F06
Deuteranopia (green-blind)
#857620
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a711a;
/* rgb */ color: rgb(138, 113, 26);
/* oklch */ color: oklch(55.7% 0.105 91.7);
Tailwind
colors: {
  custom: {
    50: '#b0995f',
    500: '#8a711a',
    950: '#000000',
  },
}
SCSS
$custom: #8a711a;
$custom-light: #b0995f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a711a",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 46.607,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.10468,
    "h": 91.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#8A711A
secondary
#435EBD
accent
#64EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A711A

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

Preview Lab → · Contrast checker → · Palette generator →

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