#9E9237#9E9237

#9E9237 is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.3% C 0.112 H 101.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E9237
RGBrgb(158, 146, 55)
HSLhsl(53, 48%, 42%)
HSVhsv(53, 65%, 62%)
CMYKcmyk(0%, 7.6%, 65.2%, 38%)
CIE-LABlab(59.98, -6.85, 48.23)
CIE-LCHlch(59.98, 48.72, 98.09°)
OKLaboklab(65.27% -0.0228 0.1095)
OKLCHoklch(65.27% 0.112 101.8)
XYZxyz(25.0700, 28.1037, 7.7177)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9237 #37439E
analogous
#9E5F37 #9E9237 #779E37
triadic
#9E9237 #379E92 #92379E
tetradic
#9E9237 #379E5F #37439E #9E3777
square
#9E9237 #379E5F #37439E #9E3777
split-complementary
#9E9237 #37779E #5F379E
monochromatic
#433E17 #716827 #9E9237 #C2B550 #D2C87D

Accessibility & contrast

On white

3.17
#9E9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#9E9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9237
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9237#FFFFFF#000000##000000
##9E92371.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2C
Deuteranopia (green-blind)
#A3933C
Tritanopia (blue-blind)
#AA887F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9237;
/* rgb */ color: rgb(158, 146, 55);
/* oklch */ color: oklch(65.3% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#bdb172',
    500: '#9e9237',
    950: '#000000',
  },
}
SCSS
$custom: #9e9237;
$custom-light: #bdb172;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9237",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 53.01,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65267,
    "c": 0.11187,
    "h": 101.8
  },
  "luminance": 0.28103
}

Semantic roles & 50–950 ramp

primary
#9E9237
secondary
#767EBB
accent
#60D850
background
#FCFAF7
surface
#F8F5ED
border
#D1CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E9237

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

Preview Lab → · Contrast checker → · Palette generator →

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