#9D975C#9D975C

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

Color values

HEX#9D975C
RGBrgb(157, 151, 92)
HSLhsl(54, 26%, 49%)
HSVhsv(54, 41%, 62%)
CMYKcmyk(0%, 3.8%, 41.4%, 38.4%)
CIE-LABlab(61.72, -6.70, 31.84)
CIE-LCHlch(61.72, 32.54, 101.89°)
OKLaboklab(66.77% -0.0183 0.0775)
OKLCHoklch(66.77% 0.08 103.3)
XYZxyz(26.9035, 30.0747, 14.5109)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D975C #5C629D
analogous
#9D775C #9D975C #839D5C
triadic
#9D975C #5C9D97 #975C9D
tetradic
#9D975C #5C9D77 #5C629D #9D5C83
square
#9D975C #5C9D77 #5C629D #9D5C83
split-complementary
#9D975C #5C839D #775C9D
monochromatic
#504D2F #767245 #9D975C #B5B081 #CCC8A8

Accessibility & contrast

On white

2.99
#9D975C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D975C#FFFFFF#000000##000000
##9D975C1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d975c;
/* rgb */ color: rgb(157, 151, 92);
/* oklch */ color: oklch(66.8% 0.080 103.3);
Tailwind
colors: {
  custom: {
    50: '#bbb58b',
    500: '#9d975c',
    950: '#000000',
  },
}
SCSS
$custom: #9d975c;
$custom-light: #bbb58b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d975c",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 54.462,
    "s": 26.104,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.07966,
    "h": 103.3
  },
  "luminance": 0.30074
}

Semantic roles & 50–950 ramp

primary
#9D975C
secondary
#9B9EBA
accent
#6EC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D975C

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

Preview Lab → · Contrast checker → · Palette generator →

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