#9D9C5E#9D9C5E

#9D9C5E is a light, moderate yellow. Relative luminance 0.318; OKLCH L 67.9% C 0.083 H 107.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9D9C5E
RGBrgb(157, 156, 94)
HSLhsl(59, 25%, 49%)
HSVhsv(59, 40%, 62%)
CMYKcmyk(0%, 0.6%, 40.1%, 38.4%)
CIE-LABlab(63.14, -9.16, 32.58)
CIE-LCHlch(63.14, 33.84, 105.71°)
OKLaboklab(67.9% -0.0252 0.0793)
OKLCHoklch(67.9% 0.083 107.6)
XYZxyz(27.8139, 31.7538, 15.2514)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9C5E #5E5F9D
analogous
#9D7D5E #9D9C5E #7F9D5E
triadic
#9D9C5E #5E9D9C #9C5E9D
tetradic
#9D9C5E #5E9D7D #5E5F9D #9D5E7F
square
#9D9C5E #5E9D7D #5E5F9D #9D5E7F
split-complementary
#9D9C5E #5E7F9D #7D5E9D
monochromatic
#505030 #777647 #9D9C5E #B5B483 #CCCBAA

Accessibility & contrast

On white

2.86
#9D9C5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#9D9C5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9C5E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9C5E#FFFFFF#000000##000000
##9D9C5E1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59759
Deuteranopia (green-blind)
#A79A61
Tritanopia (blue-blind)
#A5958D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9c5e;
/* rgb */ color: rgb(157, 156, 94);
/* oklch */ color: oklch(67.9% 0.083 107.6);
Tailwind
colors: {
  custom: {
    50: '#bbb98c',
    500: '#9d9c5e',
    950: '#000000',
  },
}
SCSS
$custom: #9d9c5e;
$custom-light: #bbb98c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9c5e",
  "rgb": {
    "r": 157,
    "g": 156,
    "b": 94
  },
  "hsl": {
    "h": 59.048,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67903,
    "c": 0.08323,
    "h": 107.6
  },
  "luminance": 0.31753
}

Semantic roles & 50–950 ramp

primary
#9D9C5E
secondary
#9D9DBA
accent
#68C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D9C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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