#9E9B71#9E9B71

#9E9B71 is a light, muted yellow. Relative luminance 0.319; OKLCH L 68.1% C 0.058 H 104.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9E9B71
RGBrgb(158, 155, 113)
HSLhsl(56, 19%, 53%)
HSVhsv(56, 28%, 62%)
CMYKcmyk(0%, 1.9%, 28.5%, 38%)
CIE-LABlab(63.26, -5.81, 22.48)
CIE-LCHlch(63.26, 23.22, 104.50°)
OKLaboklab(68.13% -0.0145 0.0565)
OKLCHoklch(68.13% 0.058 104.4)
XYZxyz(28.8026, 31.9046, 20.2605)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B71 #71749E
analogous
#9E8471 #9E9B71 #8A9E71
triadic
#9E9B71 #719E9B #9B719E
tetradic
#9E9B71 #719E84 #71749E #9E718A
square
#9E9B71 #719E84 #71749E #9E718A
split-complementary
#9E9B71 #718A9E #84719E
monochromatic
#58563C #7D7A55 #9E9B71 #B7B595 #D0CEBA

Accessibility & contrast

On white

2.85
#9E9B71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#9E9B71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B71
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B71#FFFFFF#000000##000000
##9E9B711.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2986E
Deuteranopia (green-blind)
#A49A73
Tritanopia (blue-blind)
#A59590
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9b71;
/* rgb */ color: rgb(158, 155, 113);
/* oklch */ color: oklch(68.1% 0.058 104.4);
Tailwind
colors: {
  custom: {
    50: '#bbb89a',
    500: '#9e9b71',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b71;
$custom-light: #bbb89a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b71",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 113
  },
  "hsl": {
    "h": 56,
    "s": 18.828,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68126,
    "c": 0.0583,
    "h": 104.4
  },
  "luminance": 0.31904
}

Semantic roles & 50–950 ramp

primary
#9E9B71
secondary
#ACADBF
accent
#72BB6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9E9B71

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

Preview Lab → · Contrast checker → · Palette generator →

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