#9E8D37#9E8D37

#9E8D37 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.107 H 98.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E8D37
RGBrgb(158, 141, 55)
HSLhsl(50, 48%, 42%)
HSVhsv(50, 65%, 62%)
CMYKcmyk(0%, 10.8%, 65.2%, 38%)
CIE-LABlab(58.60, -4.13, 46.76)
CIE-LCHlch(58.60, 46.94, 95.05°)
OKLaboklab(64.17% -0.0151 0.1064)
OKLCHoklch(64.17% 0.107 98.1)
XYZxyz(24.3161, 26.5958, 7.4664)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D37 #37489E
analogous
#9E5A37 #9E8D37 #7C9E37
triadic
#9E8D37 #379E8D #8D379E
tetradic
#9E8D37 #379E5A #37489E #9E377C
square
#9E8D37 #379E5A #37489E #9E377C
split-complementary
#9E8D37 #377C9E #5A379E
monochromatic
#433C17 #716427 #9E8D37 #C2AF50 #D2C47D

Accessibility & contrast

On white

3.32
#9E8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9E8D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D37
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D37#FFFFFF#000000##000000
##9E8D371.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2D
Deuteranopia (green-blind)
#9F8F3B
Tritanopia (blue-blind)
#AA837B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8d37;
/* rgb */ color: rgb(158, 141, 55);
/* oklch */ color: oklch(64.2% 0.107 98.1);
Tailwind
colors: {
  custom: {
    50: '#beae72',
    500: '#9e8d37',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d37;
$custom-light: #beae72;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d37",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 50.097,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6417,
    "c": 0.10744,
    "h": 98.1
  },
  "luminance": 0.26595
}

Semantic roles & 50–950 ramp

primary
#9E8D37
secondary
#7681BB
accent
#66D850
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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