#8B701B#8B701B

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

Color values

HEX#8B701B
RGBrgb(139, 112, 27)
HSLhsl(46, 67%, 33%)
HSVhsv(46, 81%, 55%)
CMYKcmyk(0%, 19.4%, 80.6%, 45.5%)
CIE-LABlab(48.46, 1.88, 47.71)
CIE-LCHlch(48.46, 47.75, 87.75°)
OKLaboklab(55.64% 0 0.1038)
OKLCHoklch(55.64% 0.104 90)
XYZxyz(16.6405, 17.1575, 3.4720)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B701B #1B368B
analogous
#8B381B #8B701B #6E8B1B
triadic
#8B701B #1B8B70 #701B8B
tetradic
#8B701B #1B8B38 #1B368B #8B1B6E
square
#8B701B #1B8B38 #1B368B #8B1B6E
split-complementary
#8B701B #1B6E8B #381B8B
monochromatic
#251D07 #584711 #8B701B #BE9925 #DBB745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B701B#FFFFFF#000000##FFFFFF
##8B701B1.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)
#7E6F09
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#976660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b701b;
/* rgb */ color: rgb(139, 112, 27);
/* oklch */ color: oklch(55.6% 0.104 90.0);
Tailwind
colors: {
  custom: {
    50: '#b1985f',
    500: '#8b701b',
    950: '#000000',
  },
}
SCSS
$custom: #8b701b;
$custom-light: #b1985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b701b",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 45.536,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.10379,
    "h": 90
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#8B701B
secondary
#4562BC
accent
#67EA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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