#9E9031#9E9031

#9E9031 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.115 H 100.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9E9031
RGBrgb(158, 144, 49)
HSLhsl(52, 53%, 41%)
HSVhsv(52, 69%, 62%)
CMYKcmyk(0%, 8.9%, 69%, 38%)
CIE-LABlab(59.38, -6.14, 50.21)
CIE-LCHlch(59.38, 50.58, 96.97°)
OKLaboklab(64.77% -0.0215 0.1127)
OKLCHoklch(64.77% 0.115 100.8)
XYZxyz(24.6293, 27.4385, 6.9040)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9031 #313F9E
analogous
#9E5A31 #9E9031 #759E31
triadic
#9E9031 #319E90 #90319E
tetradic
#9E9031 #319E5A #313F9E #9E3175
square
#9E9031 #319E5A #313F9E #9E3175
split-complementary
#9E9031 #31759E #5A319E
monochromatic
#413B14 #6F6523 #9E9031 #C6B546 #D4C875

Accessibility & contrast

On white

3.24
#9E9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#9E9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9031
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9031#FFFFFF#000000##000000
##9E90311.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C24
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9031;
/* rgb */ color: rgb(158, 144, 49);
/* oklch */ color: oklch(64.8% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#beb06f',
    500: '#9e9031',
    950: '#000000',
  },
}
SCSS
$custom: #9e9031;
$custom-light: #beb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9031",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 52.294,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.11473,
    "h": 100.8
  },
  "luminance": 0.27437
}

Semantic roles & 50–950 ramp

primary
#9E9031
secondary
#6E78BC
accent
#5EDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E9031

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

Preview Lab → · Contrast checker → · Palette generator →

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