#9E8D32#9E8D32

#9E8D32 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.111 H 98.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9E8D32
RGBrgb(158, 141, 50)
HSLhsl(51, 52%, 41%)
HSVhsv(51, 68%, 62%)
CMYKcmyk(0%, 10.8%, 68.4%, 38%)
CIE-LABlab(58.56, -4.45, 48.94)
CIE-LCHlch(58.56, 49.14, 95.19°)
OKLaboklab(64.12% -0.0166 0.1102)
OKLCHoklch(64.12% 0.111 98.6)
XYZxyz(24.2022, 26.5503, 6.8669)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D32 #32439E
analogous
#9E5732 #9E8D32 #799E32
triadic
#9E8D32 #329E8D #8D329E
tetradic
#9E8D32 #329E57 #32439E #9E3279
square
#9E8D32 #329E57 #32439E #9E3279
split-complementary
#9E8D32 #32799E #57329E
monochromatic
#413A15 #706423 #9E8D32 #C5B148 #D4C577

Accessibility & contrast

On white

3.33
#9E8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9E8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D32
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D32#FFFFFF#000000##000000
##9E8D321.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8926
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#AA837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8d32;
/* rgb */ color: rgb(158, 141, 50);
/* oklch */ color: oklch(64.1% 0.111 98.6);
Tailwind
colors: {
  custom: {
    50: '#beae6f',
    500: '#9e8d32',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d32;
$custom-light: #beae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d32",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 50.556,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.11141,
    "h": 98.6
  },
  "luminance": 0.26549
}

Semantic roles & 50–950 ramp

primary
#9E8D32
secondary
#707CBC
accent
#63DB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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