#8A8939#8A8939

#8A8939 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.103 H 108.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A8939
RGBrgb(138, 137, 57)
HSLhsl(59, 42%, 38%)
HSVhsv(59, 59%, 54%)
CMYKcmyk(0%, 0.7%, 58.7%, 45.9%)
CIE-LABlab(55.68, -10.73, 42.10)
CIE-LCHlch(55.68, 43.45, 104.30°)
OKLaboklab(61.42% -0.0324 0.0973)
OKLCHoklch(61.42% 0.103 108.4)
XYZxyz(20.1660, 23.5906, 7.3612)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8939 #393A8A
analogous
#8A6039 #8A8939 #628A39
triadic
#8A8939 #398A89 #89398A
tetradic
#8A8939 #398A60 #393A8A #8A3962
square
#8A8939 #398A60 #393A8A #8A3962
split-complementary
#8A8939 #39628A #60398A
monochromatic
#333315 #5F5E27 #8A8939 #B5B44B #C7C677

Accessibility & contrast

On white

3.67
#8A8939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A8939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8939
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8939#FFFFFF#000000##000000
##8A89391.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938430
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8939;
/* rgb */ color: rgb(138, 137, 57);
/* oklch */ color: oklch(61.4% 0.103 108.4);
Tailwind
colors: {
  custom: {
    50: '#aeab73',
    500: '#8a8939',
    950: '#000000',
  },
}
SCSS
$custom: #8a8939;
$custom-light: #aeab73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8939",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 57
  },
  "hsl": {
    "h": 59.259,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61418,
    "c": 0.10252,
    "h": 108.4
  },
  "luminance": 0.2359
}

Semantic roles & 50–950 ramp

primary
#8A8939
secondary
#6F70B0
accent
#58D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8939

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

Preview Lab → · Contrast checker → · Palette generator →

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