#9E8F33#9E8F33

#9E8F33 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.6% C 0.112 H 99.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9E8F33
RGBrgb(158, 143, 51)
HSLhsl(52, 51%, 41%)
HSVhsv(52, 68%, 62%)
CMYKcmyk(0%, 9.5%, 67.7%, 38%)
CIE-LABlab(59.12, -5.48, 49.08)
CIE-LCHlch(59.12, 49.39, 96.37°)
OKLaboklab(64.57% -0.0194 0.1107)
OKLCHoklch(64.57% 0.112 99.9)
XYZxyz(24.5216, 27.1541, 7.0809)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F33 #33429E
analogous
#9E5933 #9E8F33 #779E33
triadic
#9E8F33 #339E8F #8F339E
tetradic
#9E8F33 #339E59 #33429E #9E3377
square
#9E8F33 #339E59 #33429E #9E3377
split-complementary
#9E8F33 #33779E #59339E
monochromatic
#413B15 #706524 #9E8F33 #C4B34A #D3C778

Accessibility & contrast

On white

3.27
#9E8F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#9E8F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8F33
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8F33#FFFFFF#000000##000000
##9E8F331.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B27
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#AA857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f33;
/* rgb */ color: rgb(158, 143, 51);
/* oklch */ color: oklch(64.6% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#beaf70',
    500: '#9e8f33',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f33;
$custom-light: #beaf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f33",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 51.589,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6457,
    "c": 0.11234,
    "h": 99.9
  },
  "luminance": 0.27153
}

Semantic roles & 50–950 ramp

primary
#9E8F33
secondary
#717BBC
accent
#61DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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