#9E8930#9E8930

#9E8930 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.110 H 95.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9E8930
RGBrgb(158, 137, 48)
HSLhsl(49, 53%, 40%)
HSVhsv(49, 70%, 62%)
CMYKcmyk(0%, 13.3%, 69.6%, 38%)
CIE-LABlab(57.44, -2.37, 48.65)
CIE-LCHlch(57.44, 48.71, 92.79°)
OKLaboklab(63.23% -0.0109 0.1092)
OKLCHoklch(63.23% 0.11 95.7)
XYZxyz(23.5809, 25.3750, 6.4515)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8930 #30459E
analogous
#9E5230 #9E8930 #7C9E30
triadic
#9E8930 #309E89 #89309E
tetradic
#9E8930 #309E52 #30459E #9E307C
square
#9E8930 #309E52 #30459E #9E307C
split-complementary
#9E8930 #307C9E #52309E
monochromatic
#403813 #6F6022 #9E8930 #C6AE45 #D5C274

Accessibility & contrast

On white

3.46
#9E8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9E8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8930
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8930#FFFFFF#000000##000000
##9E89301.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#AB7E77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8930;
/* rgb */ color: rgb(158, 137, 48);
/* oklch */ color: oklch(63.2% 0.110 95.7);
Tailwind
colors: {
  custom: {
    50: '#beab6d',
    500: '#9e8930',
    950: '#000000',
  },
}
SCSS
$custom: #9e8930;
$custom-light: #beab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8930",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 48.545,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63233,
    "c": 0.10975,
    "h": 95.7
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#9E8930
secondary
#6D7CBD
accent
#67DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8930

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

Preview Lab → · Contrast checker → · Palette generator →

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