#9D995B#9D995B

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

Color values

HEX#9D995B
RGBrgb(157, 153, 91)
HSLhsl(56, 27%, 49%)
HSVhsv(56, 42%, 62%)
CMYKcmyk(0%, 2.5%, 42%, 38.4%)
CIE-LABlab(62.26, -7.89, 33.05)
CIE-LCHlch(62.26, 33.98, 103.43°)
OKLaboklab(67.19% -0.0218 0.0802)
OKLCHoklch(67.19% 0.083 105.2)
XYZxyz(27.1847, 30.7066, 14.3904)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995B #5B5F9D
analogous
#9D785B #9D995B #809D5B
triadic
#9D995B #5B9D99 #995B9D
tetradic
#9D995B #5B9D78 #5B5F9D #9D5B80
square
#9D995B #5B9D78 #5B5F9D #9D5B80
split-complementary
#9D995B #5B809D #785B9D
monochromatic
#504D2E #767345 #9D995B #B5B280 #CCCAA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D995B#FFFFFF#000000##000000
##9D995B1.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)
#A39556
Deuteranopia (green-blind)
#A5985E
Tritanopia (blue-blind)
#A6928A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d995b;
/* rgb */ color: rgb(157, 153, 91);
/* oklch */ color: oklch(67.2% 0.083 105.2);
Tailwind
colors: {
  custom: {
    50: '#bbb68a',
    500: '#9d995b',
    950: '#000000',
  },
}
SCSS
$custom: #9d995b;
$custom-light: #bbb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995b",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 91
  },
  "hsl": {
    "h": 56.364,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.08314,
    "h": 105.2
  },
  "luminance": 0.30706
}

Semantic roles & 50–950 ramp

primary
#9D995B
secondary
#9A9CBA
accent
#6BC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D995B

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

Preview Lab → · Contrast checker → · Palette generator →

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