#9E975D#9E975D

#9E975D is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.9% C 0.079 H 102.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E975D
RGBrgb(158, 151, 93)
HSLhsl(54, 26%, 49%)
HSVhsv(54, 41%, 62%)
CMYKcmyk(0%, 4.4%, 41.1%, 38%)
CIE-LABlab(61.82, -6.17, 31.45)
CIE-LCHlch(61.82, 32.05, 101.10°)
OKLaboklab(66.87% -0.0167 0.0767)
OKLCHoklch(66.87% 0.079 102.3)
XYZxyz(27.1434, 30.1934, 14.7519)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E975D #5D649E
analogous
#9E775D #9E975D #859E5D
triadic
#9E975D #5D9E97 #975D9E
tetradic
#9E975D #5D9E77 #5D649E #9E5D85
square
#9E975D #5D9E77 #5D649E #9E5D85
split-complementary
#9E975D #5D859E #775D9E
monochromatic
#514D30 #777246 #9E975D #B6B082 #CCC9A9

Accessibility & contrast

On white

2.98
#9E975D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9E975D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E975D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E975D#FFFFFF#000000##000000
##9E975D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19359
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A79089
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e975d;
/* rgb */ color: rgb(158, 151, 93);
/* oklch */ color: oklch(66.9% 0.079 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcb58c',
    500: '#9e975d',
    950: '#000000',
  },
}
SCSS
$custom: #9e975d;
$custom-light: #bcb58c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e975d",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 93
  },
  "hsl": {
    "h": 53.538,
    "s": 25.896,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.0785,
    "h": 102.3
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#9E975D
secondary
#9CA0BB
accent
#70C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9E975D

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

Preview Lab → · Contrast checker → · Palette generator →

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