#9D975E#9D975E

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

Color values

HEX#9D975E
RGBrgb(157, 151, 94)
HSLhsl(54, 25%, 49%)
HSVhsv(54, 40%, 62%)
CMYKcmyk(0%, 3.8%, 40.1%, 38.4%)
CIE-LABlab(61.75, -6.47, 30.81)
CIE-LCHlch(61.75, 31.48, 101.87°)
OKLaboklab(66.8% -0.0175 0.0753)
OKLCHoklch(66.8% 0.077 103.1)
XYZxyz(26.9921, 30.1102, 14.9775)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D975E #5E649D
analogous
#9D785E #9D975E #849D5E
triadic
#9D975E #5E9D97 #975E9D
tetradic
#9D975E #5E9D78 #5E649D #9D5E84
square
#9D975E #5E9D78 #5E649D #9D5E84
split-complementary
#9D975E #5E849D #785E9D
monochromatic
#504D30 #777247 #9D975E #B5B083 #CCC9AA

Accessibility & contrast

On white

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

On black

7.02
#9D975E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D975E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D975E#FFFFFF#000000##000000
##9D975E1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d975e;
/* rgb */ color: rgb(157, 151, 94);
/* oklch */ color: oklch(66.8% 0.077 103.1);
Tailwind
colors: {
  custom: {
    50: '#bbb58c',
    500: '#9d975e',
    950: '#000000',
  },
}
SCSS
$custom: #9d975e;
$custom-light: #bbb58c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d975e",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 54.286,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.07729,
    "h": 103.1
  },
  "luminance": 0.30109
}

Semantic roles & 50–950 ramp

primary
#9D975E
secondary
#9DA0BA
accent
#6FC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D975E

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

Preview Lab → · Contrast checker → · Palette generator →

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