#8A9239#8A9239

#8A9239 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.5% C 0.113 H 113.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A9239
RGBrgb(138, 146, 57)
HSLhsl(65, 44%, 40%)
HSVhsv(65, 61%, 57%)
CMYKcmyk(5.5%, 0%, 61%, 42.7%)
CIE-LABlab(58.28, -15.53, 44.99)
CIE-LCHlch(58.28, 47.59, 109.04°)
OKLaboklab(63.5% -0.0459 0.1034)
OKLCHoklch(63.5% 0.113 113.9)
XYZxyz(21.4991, 26.2568, 7.8056)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9239 #413992
analogous
#926D39 #8A9239 #5E9239
triadic
#8A9239 #398A92 #92398A
tetradic
#8A9239 #39926D #413992 #92395E
square
#8A9239 #39926D #413992 #92395E
split-complementary
#8A9239 #395E92 #6D3992
monochromatic
#373A17 #606628 #8A9239 #B0BA4E #C4CB7A

Accessibility & contrast

On white

3.36
#8A9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8A9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9239
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9239#FFFFFF#000000##000000
##8A92391.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2F
Deuteranopia (green-blind)
#9C8D3F
Tritanopia (blue-blind)
#938A7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9239;
/* rgb */ color: rgb(138, 146, 57);
/* oklch */ color: oklch(63.5% 0.113 113.9);
Tailwind
colors: {
  custom: {
    50: '#aeb173',
    500: '#8a9239',
    950: '#000000',
  },
}
SCSS
$custom: #8a9239;
$custom-light: #aeb173;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9239",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 65.393,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.11316,
    "h": 113.9
  },
  "luminance": 0.26256
}

Semantic roles & 50–950 ramp

primary
#8A9239
secondary
#7872B4
accent
#54D460
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9239

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

Preview Lab → · Contrast checker → · Palette generator →

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