#9E8A3F#9E8A3F

#9E8A3F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.098 H 94.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9E8A3F
RGBrgb(158, 138, 63)
HSLhsl(47, 43%, 43%)
HSVhsv(47, 60%, 62%)
CMYKcmyk(0%, 12.7%, 60.1%, 38%)
CIE-LABlab(57.85, -1.92, 42.14)
CIE-LCHlch(57.85, 42.19, 92.61°)
OKLaboklab(63.61% -0.0077 0.0977)
OKLCHoklch(63.61% 0.098 94.5)
XYZxyz(24.0872, 25.8061, 8.4140)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A3F #3F539E
analogous
#9E5A3F #9E8A3F #829E3F
triadic
#9E8A3F #3F9E8A #8A3F9E
tetradic
#9E8A3F #3F9E5A #3F539E #9E3F82
square
#9E8A3F #3F9E5A #3F539E #9E3F82
split-complementary
#9E8A3F #3F829E #5A3F9E
monochromatic
#463E1C #72642E #9E8A3F #BEA95C #D0C088

Accessibility & contrast

On white

3.41
#9E8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9E8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A3F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A3F#FFFFFF#000000##000000
##9E8A3F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978737
Deuteranopia (green-blind)
#9C8E42
Tritanopia (blue-blind)
#AA8079
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a3f;
/* rgb */ color: rgb(158, 138, 63);
/* oklch */ color: oklch(63.6% 0.098 94.5);
Tailwind
colors: {
  custom: {
    50: '#bdab77',
    500: '#9e8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a3f;
$custom-light: #bdab77;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a3f",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 47.368,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.09798,
    "h": 94.5
  },
  "luminance": 0.25805
}

Semantic roles & 50–950 ramp

primary
#9E8A3F
secondary
#7F8BBA
accent
#70D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9E8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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