#9E8A33#9E8A33

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

Color values

HEX#9E8A33
RGBrgb(158, 138, 51)
HSLhsl(49, 51%, 41%)
HSVhsv(49, 68%, 62%)
CMYKcmyk(0%, 12.7%, 67.7%, 38%)
CIE-LABlab(57.74, -2.74, 47.64)
CIE-LCHlch(57.74, 47.72, 93.29°)
OKLaboklab(63.48% -0.0116 0.1076)
OKLCHoklch(63.48% 0.108 96.1)
XYZxyz(23.7877, 25.6863, 6.8363)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A33 #33479E
analogous
#9E5433 #9E8A33 #7C9E33
triadic
#9E8A33 #339E8A #8A339E
tetradic
#9E8A33 #339E54 #33479E #9E337C
square
#9E8A33 #339E54 #33479E #9E337C
split-complementary
#9E8A33 #337C9E #54339E
monochromatic
#413915 #706224 #9E8A33 #C4AE4A #D3C278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8A33#FFFFFF#000000##000000
##9E8A331.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)
#988728
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a33;
/* rgb */ color: rgb(158, 138, 51);
/* oklch */ color: oklch(63.5% 0.108 96.1);
Tailwind
colors: {
  custom: {
    50: '#beab6f',
    500: '#9e8a33',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a33;
$custom-light: #beab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a33",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 48.785,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.10822,
    "h": 96.1
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#9E8A33
secondary
#717FBC
accent
#68DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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