#9D975B#9D975B

#9D975B is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.7% C 0.081 H 103.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D975B
RGBrgb(157, 151, 91)
HSLhsl(55, 27%, 49%)
HSVhsv(55, 42%, 62%)
CMYKcmyk(0%, 3.8%, 42%, 38.4%)
CIE-LABlab(61.70, -6.81, 32.35)
CIE-LCHlch(61.70, 33.06, 101.89°)
OKLaboklab(66.75% -0.0187 0.0786)
OKLCHoklch(66.75% 0.081 103.4)
XYZxyz(26.8601, 30.0574, 14.2822)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D975B #5B619D
analogous
#9D765B #9D975B #829D5B
triadic
#9D975B #5B9D97 #975B9D
tetradic
#9D975B #5B9D76 #5B619D #9D5B82
square
#9D975B #5B9D76 #5B619D #9D5B82
split-complementary
#9D975B #5B829D #765B9D
monochromatic
#504C2E #767245 #9D975B #B5B080 #CCC8A7

Accessibility & contrast

On white

3.00
#9D975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9D975B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D975B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D975B#FFFFFF#000000##000000
##9D975B1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19356
Deuteranopia (green-blind)
#A3975D
Tritanopia (blue-blind)
#A69088
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d975b;
/* rgb */ color: rgb(157, 151, 91);
/* oklch */ color: oklch(66.7% 0.081 103.4);
Tailwind
colors: {
  custom: {
    50: '#bbb58a',
    500: '#9d975b',
    950: '#000000',
  },
}
SCSS
$custom: #9d975b;
$custom-light: #bbb58a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d975b",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 54.545,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66749,
    "c": 0.08084,
    "h": 103.4
  },
  "luminance": 0.30057
}

Semantic roles & 50–950 ramp

primary
#9D975B
secondary
#9A9DBA
accent
#6DC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D975B

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

Preview Lab → · Contrast checker → · Palette generator →

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