#9D995E#9D995E

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

Color values

HEX#9D995E
RGBrgb(157, 153, 94)
HSLhsl(56, 25%, 49%)
HSVhsv(56, 40%, 62%)
CMYKcmyk(0%, 2.5%, 40.1%, 38.4%)
CIE-LABlab(62.30, -7.55, 31.52)
CIE-LCHlch(62.30, 32.41, 103.48°)
OKLaboklab(67.24% -0.0206 0.0769)
OKLCHoklch(67.24% 0.08 105)
XYZxyz(27.3167, 30.7594, 15.0857)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D995E #5E629D
analogous
#9D7A5E #9D995E #829D5E
triadic
#9D995E #5E9D99 #995E9D
tetradic
#9D995E #5E9D7A #5E629D #9D5E82
square
#9D995E #5E9D7A #5E629D #9D5E82
split-complementary
#9D995E #5E829D #7A5E9D
monochromatic
#504E30 #777447 #9D995E #B5B283 #CCCAAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D995E#FFFFFF#000000##000000
##9D995E1.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)
#A2955A
Deuteranopia (green-blind)
#A49860
Tritanopia (blue-blind)
#A6928A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d995e;
/* rgb */ color: rgb(157, 153, 94);
/* oklch */ color: oklch(67.2% 0.080 105.0);
Tailwind
colors: {
  custom: {
    50: '#bbb68c',
    500: '#9d995e',
    950: '#000000',
  },
}
SCSS
$custom: #9d995e;
$custom-light: #bbb68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d995e",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 94
  },
  "hsl": {
    "h": 56.19,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.6724,
    "c": 0.07961,
    "h": 105
  },
  "luminance": 0.30759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D995E

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

Preview Lab → · Contrast checker → · Palette generator →

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