#8A7937#8A7937

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

Color values

HEX#8A7937
RGBrgb(138, 121, 55)
HSLhsl(48, 43%, 38%)
HSVhsv(48, 60%, 54%)
CMYKcmyk(0%, 12.3%, 60.1%, 45.9%)
CIE-LABlab(51.10, -2.04, 37.92)
CIE-LCHlch(51.10, 37.98, 93.08°)
OKLaboklab(57.78% -0.0078 0.0881)
OKLCHoklch(57.78% 0.088 95)
XYZxyz(18.0089, 19.3547, 6.4009)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7937 #37488A
analogous
#8A5037 #8A7937 #718A37
triadic
#8A7937 #378A79 #79378A
tetradic
#8A7937 #378A50 #37488A #8A3771
square
#8A7937 #378A50 #37488A #8A3771
split-complementary
#8A7937 #37718A #50378A
monochromatic
#322C14 #5E5326 #8A7937 #B69F48 #C8B674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7937#FFFFFF#000000##000000
##8A79371.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)
#847730
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7937;
/* rgb */ color: rgb(138, 121, 55);
/* oklch */ color: oklch(57.8% 0.088 95.0);
Tailwind
colors: {
  custom: {
    50: '#ae9f70',
    500: '#8a7937',
    950: '#000000',
  },
}
SCSS
$custom: #8a7937;
$custom-light: #ae9f70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7937",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 47.711,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.08841,
    "h": 95
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#8A7937
secondary
#6D7AB0
accent
#6FD355
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A7937

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

Preview Lab → · Contrast checker → · Palette generator →

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