#9D9752#9D9752

#9D9752 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.091 H 104.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9D9752
RGBrgb(157, 151, 82)
HSLhsl(55, 31%, 47%)
HSVhsv(55, 48%, 62%)
CMYKcmyk(0%, 3.8%, 47.8%, 38.4%)
CIE-LABlab(61.58, -7.76, 36.92)
CIE-LCHlch(61.58, 37.73, 101.88°)
OKLaboklab(66.61% -0.0223 0.0883)
OKLCHoklch(66.61% 0.091 104.2)
XYZxyz(26.4949, 29.9113, 12.3588)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9752 #52589D
analogous
#9D7252 #9D9752 #7E9D52
triadic
#9D9752 #529D97 #97529D
tetradic
#9D9752 #529D72 #52589D #9D527E
square
#9D9752 #529D72 #52589D #9D527E
split-complementary
#9D9752 #527E9D #72529D
monochromatic
#4D4A28 #75703D #9D9752 #B7B275 #CCC89D

Accessibility & contrast

On white

3.01
#9D9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9D9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9752
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9752#FFFFFF#000000##000000
##9D97521.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2934C
Deuteranopia (green-blind)
#A49655
Tritanopia (blue-blind)
#A78F87
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9752;
/* rgb */ color: rgb(157, 151, 82);
/* oklch */ color: oklch(66.6% 0.091 104.2);
Tailwind
colors: {
  custom: {
    50: '#bbb584',
    500: '#9d9752',
    950: '#000000',
  },
}
SCSS
$custom: #9d9752;
$custom-light: #bbb584;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9752",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 55.2,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66608,
    "c": 0.09103,
    "h": 104.2
  },
  "luminance": 0.29911
}

Semantic roles & 50–950 ramp

primary
#9D9752
secondary
#9295B9
accent
#68C860
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9D9752

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

Preview Lab → · Contrast checker → · Palette generator →

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