#9D984A#9D984A

#9D984A is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.7% C 0.101 H 105.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D984A
RGBrgb(157, 152, 74)
HSLhsl(56, 36%, 45%)
HSVhsv(56, 53%, 62%)
CMYKcmyk(0%, 3.2%, 52.9%, 38.4%)
CIE-LABlab(61.76, -9.06, 41.19)
CIE-LCHlch(61.76, 42.18, 102.40°)
OKLaboklab(66.72% -0.0269 0.0969)
OKLCHoklch(66.72% 0.101 105.5)
XYZxyz(26.3696, 30.1198, 10.9019)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D984A #4A4F9D
analogous
#9D6F4A #9D984A #789D4A
triadic
#9D984A #4A9D98 #984A9D
tetradic
#9D984A #4A9D6F #4A4F9D #9D4A78
square
#9D984A #4A9D6F #4A4F9D #9D4A78
split-complementary
#9D984A #4A789D #6F4A9D
monochromatic
#4A4723 #737036 #9D984A #B9B56B #CDC995

Accessibility & contrast

On white

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

On black

7.02
#9D984A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D984A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D984A#FFFFFF#000000##000000
##9D984A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39343
Deuteranopia (green-blind)
#A5974E
Tritanopia (blue-blind)
#A78F86
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d984a;
/* rgb */ color: rgb(157, 152, 74);
/* oklch */ color: oklch(66.7% 0.101 105.5);
Tailwind
colors: {
  custom: {
    50: '#bcb67f',
    500: '#9d984a',
    950: '#000000',
  },
}
SCSS
$custom: #9d984a;
$custom-light: #bcb67f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d984a",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 74
  },
  "hsl": {
    "h": 56.386,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.10056,
    "h": 105.5
  },
  "luminance": 0.30119
}

Semantic roles & 50–950 ramp

primary
#9D984A
secondary
#8A8DB9
accent
#63CC5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D984A

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

Preview Lab → · Contrast checker → · Palette generator →

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