#8B701F#8B701F

#8B701F is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.7% C 0.101 H 89.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8B701F
RGBrgb(139, 112, 31)
HSLhsl(45, 64%, 33%)
HSVhsv(45, 78%, 55%)
CMYKcmyk(0%, 19.4%, 77.7%, 45.5%)
CIE-LABlab(48.48, 2.05, 46.21)
CIE-LCHlch(48.48, 46.25, 87.46°)
OKLaboklab(55.67% 0.0009 0.1015)
OKLCHoklch(55.67% 0.101 89.5)
XYZxyz(16.6899, 17.1773, 3.7325)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B701F #1F3A8B
analogous
#8B3A1F #8B701F #708B1F
triadic
#8B701F #1F8B70 #701F8B
tetradic
#8B701F #1F8B3A #1F3A8B #8B1F70
square
#8B701F #1F8B3A #1F3A8B #8B1F70
split-complementary
#8B701F #1F708B #3A1F8B
monochromatic
#271F09 #594814 #8B701F #BD982A #D7B54D

Accessibility & contrast

On white

4.73
#8B701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8B701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B701F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B701F#FFFFFF#000000##FFFFFF
##8B701F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#976660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b701f;
/* rgb */ color: rgb(139, 112, 31);
/* oklch */ color: oklch(55.7% 0.101 89.5);
Tailwind
colors: {
  custom: {
    50: '#b19861',
    500: '#8b701f',
    950: '#000000',
  },
}
SCSS
$custom: #8b701f;
$custom-light: #b19861;
$custom-dark: #000000;
JSON
{
  "hex": "#8b701f",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 45,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.10146,
    "h": 89.5
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#8B701F
secondary
#4C67BA
accent
#6BE741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8B701F

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

Preview Lab → · Contrast checker → · Palette generator →

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