#9E9539#9E9539

#9E9539 is a light, moderate yellow. Relative luminance 0.291; OKLCH L 66.0% C 0.113 H 103.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E9539
RGBrgb(158, 149, 57)
HSLhsl(55, 47%, 42%)
HSVhsv(55, 64%, 62%)
CMYKcmyk(0%, 5.7%, 63.9%, 38%)
CIE-LABlab(60.83, -8.34, 48.25)
CIE-LCHlch(60.83, 48.97, 99.80°)
OKLaboklab(65.95% -0.0268 0.1099)
OKLCHoklch(65.95% 0.113 103.7)
XYZxyz(25.5875, 29.0604, 8.1315)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9539 #39429E
analogous
#9E6239 #9E9539 #759E39
triadic
#9E9539 #399E95 #95399E
tetradic
#9E9539 #399E62 #39429E #9E3975
square
#9E9539 #399E62 #39429E #9E3975
split-complementary
#9E9539 #39759E #62399E
monochromatic
#444019 #716B29 #9E9539 #C1B753 #D1CA80

Accessibility & contrast

On white

3.08
#9E9539 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9E9539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9539
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9539#FFFFFF#000000##000000
##9E95391.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902E
Deuteranopia (green-blind)
#A5953E
Tritanopia (blue-blind)
#A98B82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9539;
/* rgb */ color: rgb(158, 149, 57);
/* oklch */ color: oklch(66.0% 0.113 103.7);
Tailwind
colors: {
  custom: {
    50: '#bdb374',
    500: '#9e9539',
    950: '#000000',
  },
}
SCSS
$custom: #9e9539;
$custom-light: #bdb374;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9539",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 57
  },
  "hsl": {
    "h": 54.653,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.11308,
    "h": 103.7
  },
  "luminance": 0.29059
}

Semantic roles & 50–950 ramp

primary
#9E9539
secondary
#787EBB
accent
#5DD751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9539

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

Preview Lab → · Contrast checker → · Palette generator →

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