#8A9739#8A9739

#8A9739 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 64.7% C 0.119 H 116.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A9739
RGBrgb(138, 151, 57)
HSLhsl(68, 45%, 41%)
HSVhsv(68, 62%, 59%)
CMYKcmyk(8.6%, 0%, 62.3%, 40.8%)
CIE-LABlab(59.74, -18.13, 46.58)
CIE-LCHlch(59.74, 49.98, 111.27°)
OKLaboklab(64.66% -0.0532 0.1068)
OKLCHoklch(64.66% 0.119 116.5)
XYZxyz(22.2868, 27.8322, 8.0682)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9739 #463997
analogous
#977539 #8A9739 #5B9739
triadic
#8A9739 #398A97 #97398A
tetradic
#8A9739 #399775 #463997 #97395B
square
#8A9739 #399775 #463997 #97395B
split-complementary
#8A9739 #395B97 #753997
monochromatic
#393E17 #616B28 #8A9739 #AEBD50 #C3CE7D

Accessibility & contrast

On white

3.20
#8A9739 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8A9739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9739
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9739#FFFFFF#000000##000000
##8A97391.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2E
Deuteranopia (green-blind)
#A0913F
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9739;
/* rgb */ color: rgb(138, 151, 57);
/* oklch */ color: oklch(64.7% 0.119 116.5);
Tailwind
colors: {
  custom: {
    50: '#aeb574',
    500: '#8a9739',
    950: '#000000',
  },
}
SCSS
$custom: #8a9739;
$custom-light: #aeb574;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9739",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 57
  },
  "hsl": {
    "h": 68.298,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64665,
    "c": 0.11933,
    "h": 116.5
  },
  "luminance": 0.27832
}

Semantic roles & 50–950 ramp

primary
#8A9739
secondary
#7E75B7
accent
#53D565
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9739

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

Preview Lab → · Contrast checker → · Palette generator →

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