#9E8935#9E8935

#9E8935 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.106 H 95.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E8935
RGBrgb(158, 137, 53)
HSLhsl(48, 50%, 41%)
HSVhsv(48, 66%, 62%)
CMYKcmyk(0%, 13.3%, 66.5%, 38%)
CIE-LABlab(57.48, -2.07, 46.47)
CIE-LCHlch(57.48, 46.52, 92.55°)
OKLaboklab(63.28% -0.0094 0.1055)
OKLCHoklch(63.28% 0.106 95.1)
XYZxyz(23.6899, 25.4187, 7.0259)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8935 #354A9E
analogous
#9E5535 #9E8935 #7F9E35
triadic
#9E8935 #359E89 #89359E
tetradic
#9E8935 #359E55 #354A9E #9E357F
square
#9E8935 #359E55 #354A9E #9E357F
split-complementary
#9E8935 #357F9E #55359E
monochromatic
#423A16 #706126 #9E8935 #C3AC4D #D3C17B

Accessibility & contrast

On white

3.45
#9E8935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9E8935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8935
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8935#FFFFFF#000000##000000
##9E89351.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97862B
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#AA7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8935;
/* rgb */ color: rgb(158, 137, 53);
/* oklch */ color: oklch(63.3% 0.106 95.1);
Tailwind
colors: {
  custom: {
    50: '#beab70',
    500: '#9e8935',
    950: '#000000',
  },
}
SCSS
$custom: #9e8935;
$custom-light: #beab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8935",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 48,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.10587,
    "h": 95.1
  },
  "luminance": 0.25417
}

Semantic roles & 50–950 ramp

primary
#9E8935
secondary
#7382BB
accent
#6AD94F
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8935

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

Preview Lab → · Contrast checker → · Palette generator →

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