#9D9B4B#9D9B4B

#9D9B4B is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.4% C 0.103 H 107.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9D9B4B
RGBrgb(157, 155, 75)
HSLhsl(59, 35%, 45%)
HSVhsv(59, 52%, 62%)
CMYKcmyk(0%, 1.3%, 52.2%, 38.4%)
CIE-LABlab(62.61, -10.56, 41.70)
CIE-LCHlch(62.61, 43.01, 104.22°)
OKLaboklab(67.4% -0.0311 0.0981)
OKLCHoklch(67.4% 0.103 107.6)
XYZxyz(26.8967, 31.1195, 11.2451)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B4B #4B4D9D
analogous
#9D724B #9D9B4B #769D4B
triadic
#9D9B4B #4B9D9B #9B4B9D
tetradic
#9D9B4B #4B9D72 #4B4D9D #9D4B76
square
#9D9B4B #4B9D72 #4B4D9D #9D4B76
split-complementary
#9D9B4B #4B769D #724B9D
monochromatic
#4A4923 #747237 #9D9B4B #B9B76C #CDCB96

Accessibility & contrast

On white

2.91
#9D9B4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9D9B4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B4B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B4B#FFFFFF#000000##000000
##9D9B4B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69643
Deuteranopia (green-blind)
#A8994F
Tritanopia (blue-blind)
#A79289
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9b4b;
/* rgb */ color: rgb(157, 155, 75);
/* oklch */ color: oklch(67.4% 0.103 107.6);
Tailwind
colors: {
  custom: {
    50: '#bcb880',
    500: '#9d9b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b4b;
$custom-light: #bcb880;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b4b",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 75
  },
  "hsl": {
    "h": 58.537,
    "s": 35.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67399,
    "c": 0.10291,
    "h": 107.6
  },
  "luminance": 0.31119
}

Semantic roles & 50–950 ramp

primary
#9D9B4B
secondary
#8B8CB9
accent
#5FCB5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D9B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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