#9D995A#9D995A

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

Color values

HEX#9D995A
RGBrgb(157, 153, 90)
HSLhsl(56, 27%, 48%)
HSVhsv(56, 43%, 62%)
CMYKcmyk(0%, 2.5%, 42.7%, 38.4%)
CIE-LABlab(62.24, -8.00, 33.56)
CIE-LCHlch(62.24, 34.51, 103.41°)
OKLaboklab(67.17% -0.0222 0.0813)
OKLCHoklch(67.17% 0.084 105.3)
XYZxyz(27.1418, 30.6894, 14.1648)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995A #5A5E9D
analogous
#9D775A #9D995A #7F9D5A
triadic
#9D995A #5A9D99 #995A9D
tetradic
#9D995A #5A9D77 #5A5E9D #9D5A7F
square
#9D995A #5A9D77 #5A5E9D #9D5A7F
split-complementary
#9D995A #5A7F9D #775A9D
monochromatic
#4F4D2D #767344 #9D995A #B5B27F #CCC9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D995A#FFFFFF#000000##000000
##9D995A1.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)
#A39555
Deuteranopia (green-blind)
#A5985D
Tritanopia (blue-blind)
#A6918A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d995a;
/* rgb */ color: rgb(157, 153, 90);
/* oklch */ color: oklch(67.2% 0.084 105.3);
Tailwind
colors: {
  custom: {
    50: '#bbb68a',
    500: '#9d995a',
    950: '#000000',
  },
}
SCSS
$custom: #9d995a;
$custom-light: #bbb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 90
  },
  "hsl": {
    "h": 56.418,
    "s": 27.126,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.0843,
    "h": 105.3
  },
  "luminance": 0.30689
}

Semantic roles & 50–950 ramp

primary
#9D995A
secondary
#999BBA
accent
#6AC364
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D995A

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

Preview Lab → · Contrast checker → · Palette generator →

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