#8A701F#8A701F

#8A701F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.6% C 0.101 H 90.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A701F
RGBrgb(138, 112, 31)
HSLhsl(45, 63%, 33%)
HSVhsv(45, 78%, 54%)
CMYKcmyk(0%, 18.8%, 77.5%, 45.9%)
CIE-LABlab(48.38, 1.58, 46.07)
CIE-LCHlch(48.38, 46.09, 88.04°)
OKLaboklab(55.56% -0.0004 0.1012)
OKLCHoklch(55.56% 0.101 90.2)
XYZxyz(16.5237, 17.0916, 3.7248)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701F #1F398A
analogous
#8A3B1F #8A701F #6E8A1F
triadic
#8A701F #1F8A70 #701F8A
tetradic
#8A701F #1F8A3B #1F398A #8A1F6E
square
#8A701F #1F8A3B #1F398A #8A1F6E
split-complementary
#8A701F #1F6E8A #3B1F8A
monochromatic
#261F09 #584714 #8A701F #BC992A #D7B54C

Accessibility & contrast

On white

4.75
#8A701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A701F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A701F#FFFFFF#000000##FFFFFF
##8A701F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#966660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a701f;
/* rgb */ color: rgb(138, 112, 31);
/* oklch */ color: oklch(55.6% 0.101 90.2);
Tailwind
colors: {
  custom: {
    50: '#b09861',
    500: '#8a701f',
    950: '#000000',
  },
}
SCSS
$custom: #8a701f;
$custom-light: #b09861;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701f",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 45.421,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.10121,
    "h": 90.2
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#8A701F
secondary
#4B66BA
accent
#6AE641
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701F

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

Preview Lab → · Contrast checker → · Palette generator →

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