#9D975A#9D975A

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

Color values

HEX#9D975A
RGBrgb(157, 151, 90)
HSLhsl(55, 27%, 48%)
HSVhsv(55, 43%, 62%)
CMYKcmyk(0%, 3.8%, 42.7%, 38.4%)
CIE-LABlab(61.69, -6.93, 32.87)
CIE-LCHlch(61.69, 33.59, 101.90°)
OKLaboklab(66.73% -0.0191 0.0797)
OKLCHoklch(66.73% 0.082 103.5)
XYZxyz(26.8172, 30.0402, 14.0566)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D975A #5A609D
analogous
#9D755A #9D975A #819D5A
triadic
#9D975A #5A9D97 #975A9D
tetradic
#9D975A #5A9D75 #5A609D #9D5A81
square
#9D975A #5A9D75 #5A609D #9D5A81
split-complementary
#9D975A #5A819D #755A9D
monochromatic
#4F4C2D #767244 #9D975A #B5B17F #CCC8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D975A#FFFFFF#000000##000000
##9D975A1.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)
#A19355
Deuteranopia (green-blind)
#A3975D
Tritanopia (blue-blind)
#A68F88
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d975a;
/* rgb */ color: rgb(157, 151, 90);
/* oklch */ color: oklch(66.7% 0.082 103.5);
Tailwind
colors: {
  custom: {
    50: '#bbb589',
    500: '#9d975a',
    950: '#000000',
  },
}
SCSS
$custom: #9d975a;
$custom-light: #bbb589;
$custom-dark: #000000;
JSON
{
  "hex": "#9d975a",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 54.627,
    "s": 27.126,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66732,
    "c": 0.082,
    "h": 103.5
  },
  "luminance": 0.3004
}

Semantic roles & 50–950 ramp

primary
#9D975A
secondary
#999CBA
accent
#6DC364
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D975A

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

Preview Lab → · Contrast checker → · Palette generator →

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