#8B701C#8B701C

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

Color values

HEX#8B701C
RGBrgb(139, 112, 28)
HSLhsl(45, 66%, 33%)
HSVhsv(45, 80%, 55%)
CMYKcmyk(0%, 19.4%, 79.9%, 45.5%)
CIE-LABlab(48.46, 1.92, 47.35)
CIE-LCHlch(48.46, 47.39, 87.68°)
OKLaboklab(55.65% 0.0002 0.1032)
OKLCHoklch(55.65% 0.103 89.9)
XYZxyz(16.6522, 17.1622, 3.5339)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B701C #1C378B
analogous
#8B381C #8B701C #6F8B1C
triadic
#8B701C #1C8B70 #701C8B
tetradic
#8B701C #1C8B38 #1C378B #8B1C6F
square
#8B701C #1C8B38 #1C378B #8B1C6F
split-complementary
#8B701C #1C6F8B #381C8B
monochromatic
#251E07 #584712 #8B701C #BE9926 #DAB647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B701C#FFFFFF#000000##FFFFFF
##8B701C1.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)
#7E6F0B
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#976660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b701c;
/* rgb */ color: rgb(139, 112, 28);
/* oklch */ color: oklch(55.6% 0.103 89.9);
Tailwind
colors: {
  custom: {
    50: '#b19860',
    500: '#8b701c',
    950: '#000000',
  },
}
SCSS
$custom: #8b701c;
$custom-light: #b19860;
$custom-dark: #000000;
JSON
{
  "hex": "#8b701c",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 45.405,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.10323,
    "h": 89.9
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#8B701C
secondary
#4763BC
accent
#68E93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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