#8A7939#8A7939

#8A7939 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.086 H 94.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A7939
RGBrgb(138, 121, 57)
HSLhsl(47, 42%, 38%)
HSVhsv(47, 59%, 54%)
CMYKcmyk(0%, 12.3%, 58.7%, 45.9%)
CIE-LABlab(51.12, -1.88, 36.93)
CIE-LCHlch(51.12, 36.98, 92.92°)
OKLaboklab(57.8% -0.007 0.0862)
OKLCHoklch(57.8% 0.086 94.7)
XYZxyz(18.0578, 19.3743, 6.6585)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7939 #394A8A
analogous
#8A5039 #8A7939 #728A39
triadic
#8A7939 #398A79 #79398A
tetradic
#8A7939 #398A50 #394A8A #8A3972
square
#8A7939 #398A50 #394A8A #8A3972
split-complementary
#8A7939 #39728A #50398A
monochromatic
#332D15 #5F5327 #8A7939 #B59F4B #C7B677

Accessibility & contrast

On white

4.31
#8A7939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A7939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7939
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7939#FFFFFF#000000##000000
##8A79391.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847733
Deuteranopia (green-blind)
#897C3C
Tritanopia (blue-blind)
#94716B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7939;
/* rgb */ color: rgb(138, 121, 57);
/* oklch */ color: oklch(57.8% 0.086 94.7);
Tailwind
colors: {
  custom: {
    50: '#ae9f71',
    500: '#8a7939',
    950: '#000000',
  },
}
SCSS
$custom: #8a7939;
$custom-light: #ae9f71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7939",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 47.407,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.08647,
    "h": 94.7
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#8A7939
secondary
#6F7DB0
accent
#70D156
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A7939

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

Preview Lab → · Contrast checker → · Palette generator →

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