#8A701B#8A701B

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

Color values

HEX#8A701B
RGBrgb(138, 112, 27)
HSLhsl(46, 67%, 32%)
HSVhsv(46, 80%, 54%)
CMYKcmyk(0%, 18.8%, 80.4%, 45.9%)
CIE-LABlab(48.35, 1.41, 47.57)
CIE-LCHlch(48.35, 47.60, 88.31°)
OKLaboklab(55.53% -0.0013 0.1036)
OKLCHoklch(55.53% 0.104 90.7)
XYZxyz(16.4742, 17.0718, 3.4642)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A701B #1B358A
analogous
#8A391B #8A701B #6D8A1B
triadic
#8A701B #1B8A70 #701B8A
tetradic
#8A701B #1B8A39 #1B358A #8A1B6D
square
#8A701B #1B8A39 #1B358A #8A1B6D
split-complementary
#8A701B #1B6D8A #391B8A
monochromatic
#241D07 #574611 #8A701B #BD9A25 #DBB745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A701B#FFFFFF#000000##FFFFFF
##8A701B1.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)
#7E6F09
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#966660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a701b;
/* rgb */ color: rgb(138, 112, 27);
/* oklch */ color: oklch(55.5% 0.104 90.7);
Tailwind
colors: {
  custom: {
    50: '#b0985f',
    500: '#8a701b',
    950: '#000000',
  },
}
SCSS
$custom: #8a701b;
$custom-light: #b0985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a701b",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 45.946,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.10356,
    "h": 90.7
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#8A701B
secondary
#4561BC
accent
#66EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A701B

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

Preview Lab → · Contrast checker → · Palette generator →

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