#9D9151#9D9151

#9D9151 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.086 H 98.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D9151
RGBrgb(157, 145, 81)
HSLhsl(51, 32%, 47%)
HSVhsv(51, 48%, 62%)
CMYKcmyk(0%, 7.6%, 48.4%, 38.4%)
CIE-LABlab(59.90, -4.61, 35.39)
CIE-LCHlch(59.90, 35.69, 97.43°)
OKLaboklab(65.27% -0.0133 0.0848)
OKLCHoklch(65.27% 0.086 98.9)
XYZxyz(25.5159, 28.0139, 11.8461)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9151 #515D9D
analogous
#9D6B51 #9D9151 #839D51
triadic
#9D9151 #519D91 #91519D
tetradic
#9D9151 #519D6B #515D9D #9D5183
square
#9D9151 #519D6B #515D9D #9D5183
split-complementary
#9D9151 #51839D #6B519D
monochromatic
#4C4627 #756C3C #9D9151 #B7AD74 #CCC59C

Accessibility & contrast

On white

3.18
#9D9151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9D9151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9151
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9151#FFFFFF#000000##000000
##9D91511.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8E4C
Deuteranopia (green-blind)
#9F9254
Tritanopia (blue-blind)
#A78982
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9151;
/* rgb */ color: rgb(157, 145, 81);
/* oklch */ color: oklch(65.3% 0.086 98.9);
Tailwind
colors: {
  custom: {
    50: '#bbb183',
    500: '#9d9151',
    950: '#000000',
  },
}
SCSS
$custom: #9d9151;
$custom-light: #bbb183;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9151",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 81
  },
  "hsl": {
    "h": 50.526,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.65274,
    "c": 0.08582,
    "h": 98.9
  },
  "luminance": 0.28013
}

Semantic roles & 50–950 ramp

primary
#9D9151
secondary
#9197B9
accent
#70C860
background
#FBFAF8
surface
#F7F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9D9151

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

Preview Lab → · Contrast checker → · Palette generator →

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