#8A7936#8A7936

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

Color values

HEX#8A7936
RGBrgb(138, 121, 54)
HSLhsl(48, 44%, 38%)
HSVhsv(48, 61%, 54%)
CMYKcmyk(0%, 12.3%, 60.9%, 45.9%)
CIE-LABlab(51.09, -2.12, 38.41)
CIE-LCHlch(51.09, 38.47, 93.16°)
OKLaboklab(57.77% -0.0081 0.089)
OKLCHoklch(57.77% 0.089 95.2)
XYZxyz(17.9852, 19.3452, 6.2760)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7936 #36478A
analogous
#8A4F36 #8A7936 #718A36
triadic
#8A7936 #368A79 #79368A
tetradic
#8A7936 #368A4F #36478A #8A3671
square
#8A7936 #368A4F #36478A #8A3671
split-complementary
#8A7936 #36718A #4F368A
monochromatic
#322C14 #5E5225 #8A7936 #B6A047 #C8B772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7936#FFFFFF#000000##000000
##8A79361.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)
#84772F
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7936;
/* rgb */ color: rgb(138, 121, 54);
/* oklch */ color: oklch(57.8% 0.089 95.2);
Tailwind
colors: {
  custom: {
    50: '#ae9f6f',
    500: '#8a7936',
    950: '#000000',
  },
}
SCSS
$custom: #8a7936;
$custom-light: #ae9f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7936",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 47.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57766,
    "c": 0.08936,
    "h": 95.2
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#8A7936
secondary
#6B79B1
accent
#6ED354
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7936

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

Preview Lab → · Contrast checker → · Palette generator →

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