#9D995D#9D995D

#9D995D is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.081 H 105.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D995D
RGBrgb(157, 153, 93)
HSLhsl(56, 26%, 49%)
HSVhsv(56, 41%, 62%)
CMYKcmyk(0%, 2.5%, 40.8%, 38.4%)
CIE-LABlab(62.29, -7.67, 32.03)
CIE-LCHlch(62.29, 32.94, 103.46°)
OKLaboklab(67.22% -0.021 0.078)
OKLCHoklch(67.22% 0.081 105.1)
XYZxyz(27.2721, 30.7415, 14.8509)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995D #5D619D
analogous
#9D795D #9D995D #819D5D
triadic
#9D995D #5D9D99 #995D9D
tetradic
#9D995D #5D9D79 #5D619D #9D5D81
square
#9D995D #5D9D79 #5D619D #9D5D81
split-complementary
#9D995D #5D819D #795D9D
monochromatic
#504E2F #777446 #9D995D #B5B282 #CCCAA9

Accessibility & contrast

On white

2.94
#9D995D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9D995D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D995D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D995D#FFFFFF#000000##000000
##9D995D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39558
Deuteranopia (green-blind)
#A49860
Tritanopia (blue-blind)
#A6928A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d995d;
/* rgb */ color: rgb(157, 153, 93);
/* oklch */ color: oklch(67.2% 0.081 105.1);
Tailwind
colors: {
  custom: {
    50: '#bbb68c',
    500: '#9d995d',
    950: '#000000',
  },
}
SCSS
$custom: #9d995d;
$custom-light: #bbb68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995d",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 93
  },
  "hsl": {
    "h": 56.25,
    "s": 25.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.08079,
    "h": 105.1
  },
  "luminance": 0.30741
}

Semantic roles & 50–950 ramp

primary
#9D995D
secondary
#9C9EBA
accent
#6CC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D995D

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

Preview Lab → · Contrast checker → · Palette generator →

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