#8A7014#8A7014

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

Color values

HEX#8A7014
RGBrgb(138, 112, 20)
HSLhsl(47, 75%, 31%)
HSVhsv(47, 86%, 54%)
CMYKcmyk(0%, 18.8%, 85.5%, 45.9%)
CIE-LABlab(48.31, 1.16, 49.90)
CIE-LCHlch(48.31, 49.91, 88.67°)
OKLaboklab(55.49% -0.0027 0.107)
OKLCHoklch(55.49% 0.107 91.5)
XYZxyz(16.4027, 17.0432, 3.0874)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7014 #142E8A
analogous
#8A3514 #8A7014 #698A14
triadic
#8A7014 #148A70 #70148A
tetradic
#8A7014 #148A35 #142E8A #8A1469
square
#8A7014 #148A35 #142E8A #8A1469
split-complementary
#8A7014 #14698A #35148A
monochromatic
#1F1905 #55450C #8A7014 #BF9B1C #E2BC36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7014#FFFFFF#000000##FFFFFF
##8A70141.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)
#7E6E00
Deuteranopia (green-blind)
#84761B
Tritanopia (blue-blind)
#96665F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a7014;
/* rgb */ color: rgb(138, 112, 20);
/* oklch */ color: oklch(55.5% 0.107 91.5);
Tailwind
colors: {
  custom: {
    50: '#b0985c',
    500: '#8a7014',
    950: '#000000',
  },
}
SCSS
$custom: #8a7014;
$custom-light: #b0985c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7014",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 46.78,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.10703,
    "h": 91.5
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#8A7014
secondary
#3C58BE
accent
#60F136
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A7014

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

Preview Lab → · Contrast checker → · Palette generator →

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