#8B701A#8B701A

#8B701A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.104 H 90.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8B701A
RGBrgb(139, 112, 26)
HSLhsl(46, 68%, 32%)
HSVhsv(46, 81%, 55%)
CMYKcmyk(0%, 19.4%, 81.3%, 45.5%)
CIE-LABlab(48.45, 1.84, 48.07)
CIE-LCHlch(48.45, 48.10, 87.81°)
OKLaboklab(55.64% -0.0003 0.1043)
OKLCHoklch(55.64% 0.104 90.1)
XYZxyz(16.6291, 17.1530, 3.4121)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B701A #1A358B
analogous
#8B381A #8B701A #6D8B1A
triadic
#8B701A #1A8B70 #701A8B
tetradic
#8B701A #1A8B38 #1A358B #8B1A6D
square
#8B701A #1A8B38 #1A358B #8B1A6D
split-complementary
#8B701A #1A6D8B #381A8B
monochromatic
#241D07 #574610 #8B701A #BF9A24 #DCB743

Accessibility & contrast

On white

4.74
#8B701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8B701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B701A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B701A#FFFFFF#000000##FFFFFF
##8B701A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#976660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b701a;
/* rgb */ color: rgb(139, 112, 26);
/* oklch */ color: oklch(55.6% 0.104 90.1);
Tailwind
colors: {
  custom: {
    50: '#b1985f',
    500: '#8b701a',
    950: '#000000',
  },
}
SCSS
$custom: #8b701a;
$custom-light: #b1985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b701a",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 45.664,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.10433,
    "h": 90.1
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#8B701A
secondary
#4461BD
accent
#66EB3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8B701A

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

Preview Lab → · Contrast checker → · Palette generator →

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