#9D9C4F#9D9C4F

#9D9C4F is a light, moderate yellow. Relative luminance 0.315; OKLCH L 67.7% C 0.100 H 108.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9D9C4F
RGBrgb(157, 156, 79)
HSLhsl(59, 33%, 46%)
HSVhsv(59, 50%, 62%)
CMYKcmyk(0%, 0.6%, 49.7%, 38.4%)
CIE-LABlab(62.94, -10.73, 40.09)
CIE-LCHlch(62.94, 41.50, 104.98°)
OKLaboklab(67.68% -0.0311 0.095)
OKLCHoklch(67.68% 0.1 108.1)
XYZxyz(27.2050, 31.5102, 12.0446)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9C4F #4F509D
analogous
#9D754F #9D9C4F #779D4F
triadic
#9D9C4F #4F9D9C #9C4F9D
tetradic
#9D9C4F #4F9D75 #4F509D #9D4F77
square
#9D9C4F #4F9D75 #4F509D #9D4F77
split-complementary
#9D9C4F #4F779D #754F9D
monochromatic
#4C4B26 #74743B #9D9C4F #B8B771 #CCCC9A

Accessibility & contrast

On white

2.88
#9D9C4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9D9C4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9C4F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9C4F#FFFFFF#000000##000000
##9D9C4F1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79748
Deuteranopia (green-blind)
#A89A53
Tritanopia (blue-blind)
#A6948A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9c4f;
/* rgb */ color: rgb(157, 156, 79);
/* oklch */ color: oklch(67.7% 0.100 108.1);
Tailwind
colors: {
  custom: {
    50: '#bcb982',
    500: '#9d9c4f',
    950: '#000000',
  },
}
SCSS
$custom: #9d9c4f;
$custom-light: #bcb982;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9c4f",
  "rgb": {
    "r": 157,
    "g": 156,
    "b": 79
  },
  "hsl": {
    "h": 59.231,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.09994,
    "h": 108.1
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#9D9C4F
secondary
#8F8FB9
accent
#60C95F
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9D9C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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