#8A701A#8A701A

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

Color values

HEX#8A701A
RGBrgb(138, 112, 26)
HSLhsl(46, 68%, 32%)
HSVhsv(46, 81%, 54%)
CMYKcmyk(0%, 18.8%, 81.2%, 45.9%)
CIE-LABlab(48.34, 1.37, 47.93)
CIE-LCHlch(48.34, 47.95, 88.37°)
OKLaboklab(55.53% -0.0015 0.1041)
OKLCHoklch(55.53% 0.104 90.9)
XYZxyz(16.4628, 17.0672, 3.4043)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701A #1A348A
analogous
#8A381A #8A701A #6C8A1A
triadic
#8A701A #1A8A70 #701A8A
tetradic
#8A701A #1A8A38 #1A348A #8A1A6C
square
#8A701A #1A8A38 #1A348A #8A1A6C
split-complementary
#8A701A #1A6C8A #381A8A
monochromatic
#231C07 #574610 #8A701A #BD9A24 #DCB843

Accessibility & contrast

On white

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

On black

4.41
#8A701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A701A#FFFFFF#000000##FFFFFF
##8A701A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#966660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a701a;
/* rgb */ color: rgb(138, 112, 26);
/* oklch */ color: oklch(55.5% 0.104 90.9);
Tailwind
colors: {
  custom: {
    50: '#b0985f',
    500: '#8a701a',
    950: '#000000',
  },
}
SCSS
$custom: #8a701a;
$custom-light: #b0985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701a",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 46.071,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.1041,
    "h": 90.9
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#8A701A
secondary
#435FBD
accent
#65EB3D
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701A

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

Preview Lab → · Contrast checker → · Palette generator →

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