#8A8339#8A8339

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

Color values

HEX#8A8339
RGBrgb(138, 131, 57)
HSLhsl(55, 42%, 38%)
HSVhsv(55, 59%, 54%)
CMYKcmyk(0%, 5.1%, 58.7%, 45.9%)
CIE-LABlab(53.95, -7.46, 40.17)
CIE-LCHlch(53.95, 40.86, 100.52°)
OKLaboklab(60.05% -0.0231 0.0931)
OKLCHoklch(60.05% 0.096 103.9)
XYZxyz(19.3367, 21.9319, 7.0848)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8339 #39408A
analogous
#8A5A39 #8A8339 #688A39
triadic
#8A8339 #398A83 #83398A
tetradic
#8A8339 #398A5A #39408A #8A3968
square
#8A8339 #398A5A #39408A #8A3968
split-complementary
#8A8339 #39688A #5A398A
monochromatic
#333115 #5F5A27 #8A8339 #B5AC4B #C7C077

Accessibility & contrast

On white

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

On black

5.39
#8A8339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8339
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8339#FFFFFF#000000##000000
##8A83391.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F31
Deuteranopia (green-blind)
#90833D
Tritanopia (blue-blind)
#947B73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8339;
/* rgb */ color: rgb(138, 131, 57);
/* oklch */ color: oklch(60.0% 0.096 103.9);
Tailwind
colors: {
  custom: {
    50: '#aea672',
    500: '#8a8339',
    950: '#000000',
  },
}
SCSS
$custom: #8a8339;
$custom-light: #aea672;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8339",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 54.815,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.09595,
    "h": 103.9
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#8A8339
secondary
#6F75B0
accent
#61D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8339

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

Preview Lab → · Contrast checker → · Palette generator →

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