#9D9F5D#9D9F5D

#9D9F5D is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.6% C 0.088 H 110.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9D9F5D
RGBrgb(157, 159, 93)
HSLhsl(62, 26%, 49%)
HSVhsv(62, 42%, 62%)
CMYKcmyk(1.3%, 0%, 41.5%, 37.6%)
CIE-LABlab(63.96, -10.87, 34.15)
CIE-LCHlch(63.96, 35.83, 107.66°)
OKLaboklab(68.55% -0.0302 0.0828)
OKLCHoklch(68.55% 0.088 110)
XYZxyz(28.2789, 32.7552, 15.1865)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F5D #5F5D9F
analogous
#9F805D #9D9F5D #7C9F5D
triadic
#9D9F5D #5D9D9F #9F5D9D
tetradic
#9D9F5D #5D9F80 #5F5D9F #9F5D7C
square
#9D9F5D #5D9F80 #5F5D9F #9F5D7C
split-complementary
#9D9F5D #5D7C9F #805D9F
monochromatic
#515230 #777846 #9D9F5D #B5B683 #CCCDA9

Accessibility & contrast

On white

2.78
#9D9F5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9D9F5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F5D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F5D#FFFFFF#000000##000000
##9D9F5D1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A58
Deuteranopia (green-blind)
#A99C60
Tritanopia (blue-blind)
#A5988F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9d9f5d;
/* rgb */ color: rgb(157, 159, 93);
/* oklch */ color: oklch(68.6% 0.088 110.0);
Tailwind
colors: {
  custom: {
    50: '#bbbb8c',
    500: '#9d9f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f5d;
$custom-light: #bbbb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f5d",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 93
  },
  "hsl": {
    "h": 61.818,
    "s": 26.19,
    "l": 49.412
  },
  "oklch": {
    "l": 0.68552,
    "c": 0.08813,
    "h": 110
  },
  "luminance": 0.32755
}

Semantic roles & 50–950 ramp

primary
#9D9F5D
secondary
#9E9DBB
accent
#65C368
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D9F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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