#8A7319#8A7319

#8A7319 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.2% C 0.106 H 93.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A7319
RGBrgb(138, 115, 25)
HSLhsl(48, 69%, 32%)
HSVhsv(48, 82%, 54%)
CMYKcmyk(0%, 16.7%, 81.9%, 45.9%)
CIE-LABlab(49.17, -0.38, 49.03)
CIE-LCHlch(49.17, 49.03, 90.45°)
OKLaboklab(56.18% -0.0066 0.1062)
OKLCHoklch(56.18% 0.106 93.6)
XYZxyz(16.7884, 17.7359, 3.4586)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7319 #19308A
analogous
#8A3B19 #8A7319 #688A19
triadic
#8A7319 #198A73 #73198A
tetradic
#8A7319 #198A3B #19308A #8A1968
square
#8A7319 #198A3B #19308A #8A1968
split-complementary
#8A7319 #19688A #3B198A
monochromatic
#221D06 #564810 #8A7319 #BE9E22 #DDBD41

Accessibility & contrast

On white

4.62
#8A7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A7319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7319
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7319#FFFFFF#000000##FFFFFF
##8A73191.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#966962
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7319;
/* rgb */ color: rgb(138, 115, 25);
/* oklch */ color: oklch(56.2% 0.106 93.6);
Tailwind
colors: {
  custom: {
    50: '#b09a5e',
    500: '#8a7319',
    950: '#000000',
  },
}
SCSS
$custom: #8a7319;
$custom-light: #b09a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7319",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 47.788,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.10644,
    "h": 93.6
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#8A7319
secondary
#425BBD
accent
#60EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7319

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

Preview Lab → · Contrast checker → · Palette generator →

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