#9E8A36#9E8A36

#9E8A36 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.106 H 95.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9E8A36
RGBrgb(158, 138, 54)
HSLhsl(48, 49%, 42%)
HSVhsv(48, 66%, 62%)
CMYKcmyk(0%, 12.7%, 65.8%, 38%)
CIE-LABlab(57.76, -2.55, 46.32)
CIE-LCHlch(57.76, 46.39, 93.15°)
OKLaboklab(63.51% -0.0107 0.1053)
OKLCHoklch(63.51% 0.106 95.8)
XYZxyz(23.8560, 25.7136, 7.1960)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A36 #364A9E
analogous
#9E5636 #9E8A36 #7E9E36
triadic
#9E8A36 #369E8A #8A369E
tetradic
#9E8A36 #369E56 #364A9E #9E367E
square
#9E8A36 #369E56 #364A9E #9E367E
split-complementary
#9E8A36 #367E9E #56369E
monochromatic
#433A17 #706226 #9E8A36 #C3AC4F #D2C27C

Accessibility & contrast

On white

3.42
#9E8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9E8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A36
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A36#FFFFFF#000000##000000
##9E8A361.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872C
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a36;
/* rgb */ color: rgb(158, 138, 54);
/* oklch */ color: oklch(63.5% 0.106 95.8);
Tailwind
colors: {
  custom: {
    50: '#beab71',
    500: '#9e8a36',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a36;
$custom-light: #beab71;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a36",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 48.462,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.10583,
    "h": 95.8
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#9E8A36
secondary
#7482BB
accent
#6AD94F
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8A36

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

Preview Lab → · Contrast checker → · Palette generator →

#9E8A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva