#9D984E#9D984E

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

Color values

HEX#9D984E
RGBrgb(157, 152, 78)
HSLhsl(56, 34%, 46%)
HSVhsv(56, 50%, 62%)
CMYKcmyk(0%, 3.2%, 50.3%, 38.4%)
CIE-LABlab(61.81, -8.69, 39.24)
CIE-LCHlch(61.81, 40.19, 102.49°)
OKLaboklab(66.77% -0.0254 0.093)
OKLCHoklch(66.77% 0.096 105.3)
XYZxyz(26.5087, 30.1754, 11.6343)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D984E #4E539D
analogous
#9D704E #9D984E #7A9D4E
triadic
#9D984E #4E9D98 #984E9D
tetradic
#9D984E #4E9D70 #4E539D #9D4E7A
square
#9D984E #4E9D70 #4E539D #9D4E7A
split-complementary
#9D984E #4E7A9D #704E9D
monochromatic
#4B4925 #74703A #9D984E #B8B370 #CCC999

Accessibility & contrast

On white

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

On black

7.04
#9D984E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D984E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D984E#FFFFFF#000000##000000
##9D984E1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d984e;
/* rgb */ color: rgb(157, 152, 78);
/* oklch */ color: oklch(66.8% 0.096 105.3);
Tailwind
colors: {
  custom: {
    50: '#bcb681',
    500: '#9d984e',
    950: '#000000',
  },
}
SCSS
$custom: #9d984e;
$custom-light: #bcb681;
$custom-dark: #000000;
JSON
{
  "hex": "#9d984e",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 78
  },
  "hsl": {
    "h": 56.203,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.09644,
    "h": 105.3
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#9D984E
secondary
#8E91B9
accent
#65CA5E
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D984E

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

Preview Lab → · Contrast checker → · Palette generator →

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