#9E9972#9E9972

#9E9972 is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.055 H 101.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9E9972
RGBrgb(158, 153, 114)
HSLhsl(53, 18%, 53%)
HSVhsv(53, 28%, 62%)
CMYKcmyk(0%, 3.2%, 27.8%, 38%)
CIE-LABlab(62.73, -4.59, 21.21)
CIE-LCHlch(62.73, 21.70, 102.20°)
OKLaboklab(67.71% -0.011 0.0535)
OKLCHoklch(67.71% 0.055 101.6)
XYZxyz(28.5292, 31.2670, 20.4486)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9972 #72779E
analogous
#9E8372 #9E9972 #8D9E72
triadic
#9E9972 #729E99 #99729E
tetradic
#9E9972 #729E83 #72779E #9E728D
square
#9E9972 #729E83 #72779E #9E728D
split-complementary
#9E9972 #728D9E #83729E
monochromatic
#59553D #7D7856 #9E9972 #B7B396 #D0CDBB

Accessibility & contrast

On white

2.90
#9E9972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9E9972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9972
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9972#FFFFFF#000000##000000
##9E99721.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0966F
Deuteranopia (green-blind)
#A29973
Tritanopia (blue-blind)
#A5948F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9972;
/* rgb */ color: rgb(158, 153, 114);
/* oklch */ color: oklch(67.7% 0.055 101.6);
Tailwind
colors: {
  custom: {
    50: '#bbb79a',
    500: '#9e9972',
    950: '#000000',
  },
}
SCSS
$custom: #9e9972;
$custom-light: #bbb79a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9972",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 114
  },
  "hsl": {
    "h": 53.182,
    "s": 18.487,
    "l": 53.333
  },
  "oklch": {
    "l": 0.67712,
    "c": 0.05456,
    "h": 101.6
  },
  "luminance": 0.31266
}

Semantic roles & 50–950 ramp

primary
#9E9972
secondary
#ACAFBF
accent
#76BB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9E9972

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

Preview Lab → · Contrast checker → · Palette generator →

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