#8A8337#8A8337

#8A8337 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.098 H 104.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8337
RGBrgb(138, 131, 55)
HSLhsl(55, 43%, 38%)
HSVhsv(55, 60%, 54%)
CMYKcmyk(0%, 5.1%, 60.1%, 45.9%)
CIE-LABlab(53.93, -7.62, 41.12)
CIE-LCHlch(53.93, 41.82, 100.49°)
OKLaboklab(60.02% -0.0237 0.0949)
OKLCHoklch(60.02% 0.098 104)
XYZxyz(19.2878, 21.9124, 6.8272)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8337 #373E8A
analogous
#8A5A37 #8A8337 #678A37
triadic
#8A8337 #378A83 #83378A
tetradic
#8A8337 #378A5A #373E8A #8A3767
square
#8A8337 #378A5A #373E8A #8A3767
split-complementary
#8A8337 #37678A #5A378A
monochromatic
#323014 #5E5926 #8A8337 #B6AD48 #C8C074

Accessibility & contrast

On white

3.90
#8A8337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A8337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8337
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8337#FFFFFF#000000##000000
##8A83371.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#947B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8337;
/* rgb */ color: rgb(138, 131, 55);
/* oklch */ color: oklch(60.0% 0.098 104.0);
Tailwind
colors: {
  custom: {
    50: '#aea671',
    500: '#8a8337',
    950: '#000000',
  },
}
SCSS
$custom: #8a8337;
$custom-light: #aea671;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8337",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 54.94,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.09785,
    "h": 104
  },
  "luminance": 0.21912
}

Semantic roles & 50–950 ramp

primary
#8A8337
secondary
#6D72B0
accent
#60D355
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8337

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

Preview Lab → · Contrast checker → · Palette generator →

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