#8A701D#8A701D

#8A701D is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.102 H 90.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A701D
RGBrgb(138, 112, 29)
HSLhsl(46, 65%, 33%)
HSVhsv(46, 79%, 54%)
CMYKcmyk(0%, 18.8%, 79%, 45.9%)
CIE-LABlab(48.36, 1.49, 46.84)
CIE-LCHlch(48.36, 46.86, 88.18°)
OKLaboklab(55.55% -0.0009 0.1024)
OKLCHoklch(55.55% 0.102 90.5)
XYZxyz(16.4981, 17.0814, 3.5902)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701D #1D378A
analogous
#8A391D #8A701D #6D8A1D
triadic
#8A701D #1D8A70 #701D8A
tetradic
#8A701D #1D8A39 #1D378A #8A1D6D
square
#8A701D #1D8A39 #1D378A #8A1D6D
split-complementary
#8A701D #1D6D8A #391D8A
monochromatic
#251E08 #574712 #8A701D #BD9928 #D9B649

Accessibility & contrast

On white

4.76
#8A701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A701D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A701D#FFFFFF#000000##FFFFFF
##8A701D1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a701d;
/* rgb */ color: rgb(138, 112, 29);
/* oklch */ color: oklch(55.5% 0.102 90.5);
Tailwind
colors: {
  custom: {
    50: '#b09860',
    500: '#8a701d',
    950: '#000000',
  },
}
SCSS
$custom: #8a701d;
$custom-light: #b09860;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701d",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 45.688,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.10241,
    "h": 90.5
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#8A701D
secondary
#4863BB
accent
#68E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701D

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

Preview Lab → · Contrast checker → · Palette generator →

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