#9D9155#9D9155

#9D9155 is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.3% C 0.081 H 98.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9D9155
RGBrgb(157, 145, 85)
HSLhsl(50, 30%, 47%)
HSVhsv(50, 46%, 62%)
CMYKcmyk(0%, 7.6%, 45.9%, 38.4%)
CIE-LABlab(59.96, -4.20, 33.35)
CIE-LCHlch(59.96, 33.61, 97.18°)
OKLaboklab(65.34% -0.0117 0.0805)
OKLCHoklch(65.34% 0.081 98.3)
XYZxyz(25.6704, 28.0757, 12.6595)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9155 #55619D
analogous
#9D6D55 #9D9155 #859D55
triadic
#9D9155 #559D91 #91559D
tetradic
#9D9155 #559D6D #55619D #9D5585
square
#9D9155 #559D6D #55619D #9D5585
split-complementary
#9D9155 #55859D #6D559D
monochromatic
#4E482A #756C40 #9D9155 #B6AC79 #CCC5A1

Accessibility & contrast

On white

3.17
#9D9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9D9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9155
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9155#FFFFFF#000000##000000
##9D91551.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9155;
/* rgb */ color: rgb(157, 145, 85);
/* oklch */ color: oklch(65.3% 0.081 98.3);
Tailwind
colors: {
  custom: {
    50: '#bbb186',
    500: '#9d9155',
    950: '#000000',
  },
}
SCSS
$custom: #9d9155;
$custom-light: #bbb186;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9155",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 50,
    "s": 29.752,
    "l": 47.451
  },
  "oklch": {
    "l": 0.65336,
    "c": 0.08136,
    "h": 98.3
  },
  "luminance": 0.28075
}

Semantic roles & 50–950 ramp

primary
#9D9155
secondary
#959BB9
accent
#73C662
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9D9155

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

Preview Lab → · Contrast checker → · Palette generator →

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