#8A7934#8A7934

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

Color values

HEX#8A7934
RGBrgb(138, 121, 52)
HSLhsl(48, 45%, 37%)
HSVhsv(48, 62%, 54%)
CMYKcmyk(0%, 12.3%, 62.3%, 45.9%)
CIE-LABlab(51.07, -2.28, 39.38)
CIE-LCHlch(51.07, 39.45, 93.31°)
OKLaboklab(57.74% -0.0088 0.0908)
OKLCHoklch(57.74% 0.091 95.5)
XYZxyz(17.9392, 19.3268, 6.0337)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7934 #34458A
analogous
#8A4E34 #8A7934 #708A34
triadic
#8A7934 #348A79 #79348A
tetradic
#8A7934 #348A4E #34458A #8A3470
square
#8A7934 #348A4E #34458A #8A3470
split-complementary
#8A7934 #34708A #4E348A
monochromatic
#312B13 #5E5223 #8A7934 #B6A045 #C9B76F

Accessibility & contrast

On white

4.32
#8A7934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7934#FFFFFF#000000##000000
##8A79341.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7934;
/* rgb */ color: rgb(138, 121, 52);
/* oklch */ color: oklch(57.7% 0.091 95.5);
Tailwind
colors: {
  custom: {
    50: '#af9f6e',
    500: '#8a7934',
    950: '#000000',
  },
}
SCSS
$custom: #8a7934;
$custom-light: #af9f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7934",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 48.14,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.09122,
    "h": 95.5
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#8A7934
secondary
#6977B1
accent
#6DD553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7934

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

Preview Lab → · Contrast checker → · Palette generator →

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