#8A701E#8A701E

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

Color values

HEX#8A701E
RGBrgb(138, 112, 30)
HSLhsl(46, 64%, 33%)
HSVhsv(46, 78%, 54%)
CMYKcmyk(0%, 18.8%, 78.3%, 45.9%)
CIE-LABlab(48.37, 1.53, 46.46)
CIE-LCHlch(48.37, 46.48, 88.11°)
OKLaboklab(55.55% -0.0006 0.1018)
OKLCHoklch(55.55% 0.102 90.4)
XYZxyz(16.5107, 17.0864, 3.6564)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701E #1E388A
analogous
#8A3A1E #8A701E #6E8A1E
triadic
#8A701E #1E8A70 #701E8A
tetradic
#8A701E #1E8A3A #1E388A #8A1E6E
square
#8A701E #1E8A3A #1E388A #8A1E6E
split-complementary
#8A701E #1E6E8A #3A1E8A
monochromatic
#251E08 #584713 #8A701E #BC9929 #D8B64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A701E#FFFFFF#000000##FFFFFF
##8A701E1.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)
#7D6F0F
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#966660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a701e;
/* rgb */ color: rgb(138, 112, 30);
/* oklch */ color: oklch(55.6% 0.102 90.4);
Tailwind
colors: {
  custom: {
    50: '#b09860',
    500: '#8a701e',
    950: '#000000',
  },
}
SCSS
$custom: #8a701e;
$custom-light: #b09860;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701e",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 45.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.10182,
    "h": 90.4
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#8A701E
secondary
#4A65BA
accent
#69E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701E

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

Preview Lab → · Contrast checker → · Palette generator →

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