#9E995F#9E995F

#9E995F is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.3% C 0.078 H 104.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E995F
RGBrgb(158, 153, 95)
HSLhsl(55, 25%, 50%)
HSVhsv(55, 40%, 62%)
CMYKcmyk(0%, 3.2%, 39.9%, 38%)
CIE-LABlab(62.40, -7.02, 31.13)
CIE-LCHlch(62.40, 31.91, 102.71°)
OKLaboklab(67.35% -0.019 0.0761)
OKLCHoklch(67.35% 0.078 104)
XYZxyz(27.5578, 30.8785, 15.3327)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E995F #5F649E
analogous
#9E7A5F #9E995F #849E5F
triadic
#9E995F #5F9E99 #995F9E
tetradic
#9E995F #5F9E7A #5F649E #9E5F84
square
#9E995F #5F9E7A #5F649E #9E5F84
split-complementary
#9E995F #5F849E #7A5F9E
monochromatic
#524F31 #787448 #9E995F #B5B285 #CCCAAB

Accessibility & contrast

On white

2.93
#9E995F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#9E995F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E995F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E995F#FFFFFF#000000##000000
##9E995F1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A7928B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e995f;
/* rgb */ color: rgb(158, 153, 95);
/* oklch */ color: oklch(67.3% 0.078 104.0);
Tailwind
colors: {
  custom: {
    50: '#bcb68d',
    500: '#9e995f',
    950: '#000000',
  },
}
SCSS
$custom: #9e995f;
$custom-light: #bcb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e995f",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 55.238,
    "s": 24.901,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.0784,
    "h": 104
  },
  "luminance": 0.30878
}

Semantic roles & 50–950 ramp

primary
#9E995F
secondary
#9EA0BB
accent
#6EC166
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9E995F

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

Preview Lab → · Contrast checker → · Palette generator →

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