#8A701C#8A701C

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

Color values

HEX#8A701C
RGBrgb(138, 112, 28)
HSLhsl(46, 66%, 33%)
HSVhsv(46, 80%, 54%)
CMYKcmyk(0%, 18.8%, 79.7%, 45.9%)
CIE-LABlab(48.36, 1.45, 47.21)
CIE-LCHlch(48.36, 47.23, 88.24°)
OKLaboklab(55.54% -0.0011 0.103)
OKLCHoklch(55.54% 0.103 90.6)
XYZxyz(16.4860, 17.0765, 3.5262)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701C #1C368A
analogous
#8A391C #8A701C #6D8A1C
triadic
#8A701C #1C8A70 #701C8A
tetradic
#8A701C #1C8A39 #1C368A #8A1C6D
square
#8A701C #1C8A39 #1C368A #8A1C6D
split-complementary
#8A701C #1C6D8A #391C8A
monochromatic
#241D07 #574712 #8A701C #BD9926 #DAB747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a701c;
/* rgb */ color: rgb(138, 112, 28);
/* oklch */ color: oklch(55.5% 0.103 90.6);
Tailwind
colors: {
  custom: {
    50: '#b0985f',
    500: '#8a701c',
    950: '#000000',
  },
}
SCSS
$custom: #8a701c;
$custom-light: #b0985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701c",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 45.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.103,
    "h": 90.6
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#8A701C
secondary
#4662BB
accent
#67E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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