#9D984D#9D984D

#9D984D is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.097 H 105.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9D984D
RGBrgb(157, 152, 77)
HSLhsl(56, 34%, 46%)
HSVhsv(56, 51%, 62%)
CMYKcmyk(0%, 3.2%, 51%, 38.4%)
CIE-LABlab(61.79, -8.78, 39.73)
CIE-LCHlch(61.79, 40.69, 102.46°)
OKLaboklab(66.76% -0.0257 0.094)
OKLCHoklch(66.76% 0.097 105.3)
XYZxyz(26.4731, 30.1612, 11.4469)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D984D #4D529D
analogous
#9D704D #9D984D #7A9D4D
triadic
#9D984D #4D9D98 #984D9D
tetradic
#9D984D #4D9D70 #4D529D #9D4D7A
square
#9D984D #4D9D70 #4D529D #9D4D7A
split-complementary
#9D984D #4D7A9D #704D9D
monochromatic
#4B4825 #747039 #9D984D #B8B46F #CCC998

Accessibility & contrast

On white

2.99
#9D984D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9D984D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D984D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D984D#FFFFFF#000000##000000
##9D984D1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d984d;
/* rgb */ color: rgb(157, 152, 77);
/* oklch */ color: oklch(66.8% 0.097 105.3);
Tailwind
colors: {
  custom: {
    50: '#bcb681',
    500: '#9d984d',
    950: '#000000',
  },
}
SCSS
$custom: #9d984d;
$custom-light: #bcb681;
$custom-dark: #000000;
JSON
{
  "hex": "#9d984d",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 77
  },
  "hsl": {
    "h": 56.25,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.09748,
    "h": 105.3
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#9D984D
secondary
#8D90B9
accent
#64CA5E
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D984D

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

Preview Lab → · Contrast checker → · Palette generator →

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