#9E8A35#9E8A35

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

Color values

HEX#9E8A35
RGBrgb(158, 138, 53)
HSLhsl(49, 50%, 41%)
HSVhsv(49, 66%, 62%)
CMYKcmyk(0%, 12.7%, 66.5%, 38%)
CIE-LABlab(57.76, -2.62, 46.76)
CIE-LCHlch(57.76, 46.84, 93.20°)
OKLaboklab(63.5% -0.011 0.1061)
OKLCHoklch(63.5% 0.107 95.9)
XYZxyz(23.8327, 25.7043, 7.0736)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A35 #35499E
analogous
#9E5635 #9E8A35 #7E9E35
triadic
#9E8A35 #359E8A #8A359E
tetradic
#9E8A35 #359E56 #35499E #9E357E
square
#9E8A35 #359E56 #35499E #9E357E
split-complementary
#9E8A35 #357E9E #56359E
monochromatic
#423A16 #706226 #9E8A35 #C3AD4D #D3C27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8A35#FFFFFF#000000##000000
##9E8A351.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)
#98872B
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a35;
/* rgb */ color: rgb(158, 138, 53);
/* oklch */ color: oklch(63.5% 0.107 95.9);
Tailwind
colors: {
  custom: {
    50: '#beab70',
    500: '#9e8a35',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a35;
$custom-light: #beab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a35",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 48.571,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.10664,
    "h": 95.9
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#9E8A35
secondary
#7381BB
accent
#69D94F
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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