#9D995F#9D995F

#9D995F is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.078 H 104.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9D995F
RGBrgb(157, 153, 95)
HSLhsl(56, 25%, 49%)
HSVhsv(56, 39%, 62%)
CMYKcmyk(0%, 2.5%, 39.5%, 38.4%)
CIE-LABlab(62.32, -7.44, 31.00)
CIE-LCHlch(62.32, 31.88, 103.49°)
OKLaboklab(67.26% -0.0202 0.0758)
OKLCHoklch(67.26% 0.078 104.9)
XYZxyz(27.3618, 30.7774, 15.3235)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995F #5F639D
analogous
#9D7A5F #9D995F #829D5F
triadic
#9D995F #5F9D99 #995F9D
tetradic
#9D995F #5F9D7A #5F639D #9D5F82
square
#9D995F #5F9D7A #5F639D #9D5F82
split-complementary
#9D995F #5F829D #7A5F9D
monochromatic
#514F31 #777448 #9D995F #B5B284 #CCCAAB

Accessibility & contrast

On white

2.93
#9D995F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#9D995F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D995F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D995F#FFFFFF#000000##000000
##9D995F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A5928B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d995f;
/* rgb */ color: rgb(157, 153, 95);
/* oklch */ color: oklch(67.3% 0.078 104.9);
Tailwind
colors: {
  custom: {
    50: '#bbb68d',
    500: '#9d995f',
    950: '#000000',
  },
}
SCSS
$custom: #9d995f;
$custom-light: #bbb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995f",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 56.129,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67257,
    "c": 0.07842,
    "h": 104.9
  },
  "luminance": 0.30777
}

Semantic roles & 50–950 ramp

primary
#9D995F
secondary
#9E9FBA
accent
#6DC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D995F

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

Preview Lab → · Contrast checker → · Palette generator →

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