#9D995C#9D995C

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

Color values

HEX#9D995C
RGBrgb(157, 153, 92)
HSLhsl(56, 26%, 49%)
HSVhsv(56, 41%, 62%)
CMYKcmyk(0%, 2.5%, 41.4%, 38.4%)
CIE-LABlab(62.27, -7.78, 32.54)
CIE-LCHlch(62.27, 33.46, 103.45°)
OKLaboklab(67.21% -0.0214 0.0791)
OKLCHoklch(67.21% 0.082 105.1)
XYZxyz(27.2281, 30.7239, 14.6191)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995C #5C609D
analogous
#9D795C #9D995C #819D5C
triadic
#9D995C #5C9D99 #995C9D
tetradic
#9D995C #5C9D79 #5C609D #9D5C81
square
#9D995C #5C9D79 #5C609D #9D5C81
split-complementary
#9D995C #5C819D #795C9D
monochromatic
#504E2F #767345 #9D995C #B5B281 #CCCAA8

Accessibility & contrast

On white

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

On black

7.14
#9D995C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D995C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D995C#FFFFFF#000000##000000
##9D995C1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d995c;
/* rgb */ color: rgb(157, 153, 92);
/* oklch */ color: oklch(67.2% 0.082 105.1);
Tailwind
colors: {
  custom: {
    50: '#bbb68b',
    500: '#9d995c',
    950: '#000000',
  },
}
SCSS
$custom: #9d995c;
$custom-light: #bbb68b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995c",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 56.308,
    "s": 26.104,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67206,
    "c": 0.08197,
    "h": 105.1
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

primary
#9D995C
secondary
#9B9DBA
accent
#6BC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D995C

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

Preview Lab → · Contrast checker → · Palette generator →

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