#9D9950#9D9950

#9D9950 is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.095 H 105.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9D9950
RGBrgb(157, 153, 80)
HSLhsl(57, 32%, 46%)
HSVhsv(57, 49%, 62%)
CMYKcmyk(0%, 2.5%, 49%, 38.4%)
CIE-LABlab(62.11, -9.03, 38.59)
CIE-LCHlch(62.11, 39.63, 103.18°)
OKLaboklab(67.02% -0.0261 0.0918)
OKLCHoklch(67.02% 0.095 105.9)
XYZxyz(26.7445, 30.5305, 12.0720)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9950 #50549D
analogous
#9D7350 #9D9950 #7B9D50
triadic
#9D9950 #509D99 #99509D
tetradic
#9D9950 #509D73 #50549D #9D507B
square
#9D9950 #509D73 #50549D #9D507B
split-complementary
#9D9950 #507B9D #73509D
monochromatic
#4C4A27 #74713B #9D9950 #B8B473 #CCCA9B

Accessibility & contrast

On white

2.96
#9D9950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9D9950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9950
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9950#FFFFFF#000000##000000
##9D99501.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4944A
Deuteranopia (green-blind)
#A69853
Tritanopia (blue-blind)
#A79188
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9950;
/* rgb */ color: rgb(157, 153, 80);
/* oklch */ color: oklch(67.0% 0.095 105.9);
Tailwind
colors: {
  custom: {
    50: '#bbb683',
    500: '#9d9950',
    950: '#000000',
  },
}
SCSS
$custom: #9d9950;
$custom-light: #bbb683;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9950",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 80
  },
  "hsl": {
    "h": 56.883,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.09543,
    "h": 105.9
  },
  "luminance": 0.3053
}

Semantic roles & 50–950 ramp

primary
#9D9950
secondary
#9092B9
accent
#65C95F
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9D9950

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

Preview Lab → · Contrast checker → · Palette generator →

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