#9D975F#9D975F

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

Color values

HEX#9D975F
RGBrgb(157, 151, 95)
HSLhsl(54, 25%, 49%)
HSVhsv(54, 39%, 62%)
CMYKcmyk(0%, 3.8%, 39.5%, 38.4%)
CIE-LABlab(61.76, -6.36, 30.29)
CIE-LCHlch(61.76, 30.95, 101.85°)
OKLaboklab(66.82% -0.0171 0.0741)
OKLCHoklch(66.82% 0.076 103)
XYZxyz(27.0372, 30.1282, 15.2153)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D975F #5F659D
analogous
#9D785F #9D975F #849D5F
triadic
#9D975F #5F9D97 #975F9D
tetradic
#9D975F #5F9D78 #5F659D #9D5F84
square
#9D975F #5F9D78 #5F659D #9D5F84
split-complementary
#9D975F #5F849D #785F9D
monochromatic
#514E31 #777248 #9D975F #B5B084 #CCC9AB

Accessibility & contrast

On white

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

On black

7.03
#9D975F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D975F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D975F#FFFFFF#000000##000000
##9D975F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0935B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A69089
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d975f;
/* rgb */ color: rgb(157, 151, 95);
/* oklch */ color: oklch(66.8% 0.076 103.0);
Tailwind
colors: {
  custom: {
    50: '#bbb58d',
    500: '#9d975f',
    950: '#000000',
  },
}
SCSS
$custom: #9d975f;
$custom-light: #bbb58d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d975f",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 54.194,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.66817,
    "c": 0.07609,
    "h": 103
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#9D975F
secondary
#9EA0BA
accent
#70C167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D975F

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

Preview Lab → · Contrast checker → · Palette generator →

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