#9E8A37#9E8A37

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

Color values

HEX#9E8A37
RGBrgb(158, 138, 55)
HSLhsl(48, 48%, 42%)
HSVhsv(48, 65%, 62%)
CMYKcmyk(0%, 12.7%, 65.2%, 38%)
CIE-LABlab(57.77, -2.49, 45.87)
CIE-LCHlch(57.77, 45.94, 93.10°)
OKLaboklab(63.52% -0.0104 0.1045)
OKLCHoklch(63.52% 0.105 95.7)
XYZxyz(23.8797, 25.7231, 7.3209)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A37 #374B9E
analogous
#9E5737 #9E8A37 #7F9E37
triadic
#9E8A37 #379E8A #8A379E
tetradic
#9E8A37 #379E57 #374B9E #9E377F
square
#9E8A37 #379E57 #374B9E #9E377F
split-complementary
#9E8A37 #377F9E #57379E
monochromatic
#433B17 #716227 #9E8A37 #C2AC50 #D2C27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8A37#FFFFFF#000000##000000
##9E8A371.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)
#98872D
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a37;
/* rgb */ color: rgb(158, 138, 55);
/* oklch */ color: oklch(63.5% 0.105 95.7);
Tailwind
colors: {
  custom: {
    50: '#beab72',
    500: '#9e8a37',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a37;
$custom-light: #beab72;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a37",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 48.35,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63517,
    "c": 0.105,
    "h": 95.7
  },
  "luminance": 0.25722
}

Semantic roles & 50–950 ramp

primary
#9E8A37
secondary
#7683BB
accent
#6AD850
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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