#9E8A4B#9E8A4B

#9E8A4B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.086 H 92.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E8A4B
RGBrgb(158, 138, 75)
HSLhsl(46, 36%, 46%)
HSVhsv(46, 53%, 62%)
CMYKcmyk(0%, 12.7%, 52.5%, 38%)
CIE-LABlab(57.99, -0.91, 36.22)
CIE-LCHlch(57.99, 36.23, 91.43°)
OKLaboklab(63.76% -0.0033 0.0861)
OKLCHoklch(63.76% 0.086 92.2)
XYZxyz(24.4599, 25.9552, 10.3767)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A4B #4B5F9E
analogous
#9E604B #9E8A4B #889E4B
triadic
#9E8A4B #4B9E8A #8A4B9E
tetradic
#9E8A4B #4B9E60 #4B5F9E #9E4B88
square
#9E8A4B #4B9E60 #4B5F9E #9E4B88
split-complementary
#9E8A4B #4B889E #604B9E
monochromatic
#4B4224 #746637 #9E8A4B #BAA76D #CDC096

Accessibility & contrast

On white

3.39
#9E8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9E8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A4B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A4B#FFFFFF#000000##000000
##9E8A4B1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968846
Deuteranopia (green-blind)
#9B8E4D
Tritanopia (blue-blind)
#A9817B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a4b;
/* rgb */ color: rgb(158, 138, 75);
/* oklch */ color: oklch(63.8% 0.086 92.2);
Tailwind
colors: {
  custom: {
    50: '#bdac7f',
    500: '#9e8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a4b;
$custom-light: #bdac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a4b",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 45.542,
    "s": 35.622,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.08618,
    "h": 92.2
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#9E8A4B
secondary
#8B96B9
accent
#77CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9E8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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