#9D994B#9D994B

#9D994B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.101 H 106.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D994B
RGBrgb(157, 153, 75)
HSLhsl(57, 35%, 45%)
HSVhsv(57, 52%, 62%)
CMYKcmyk(0%, 2.5%, 52.2%, 38.4%)
CIE-LABlab(62.05, -9.50, 41.04)
CIE-LCHlch(62.05, 42.12, 103.03°)
OKLaboklab(66.95% -0.028 0.0967)
OKLCHoklch(66.95% 0.101 106.2)
XYZxyz(26.5666, 30.4593, 11.1350)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D994B #4B4F9D
analogous
#9D704B #9D994B #789D4B
triadic
#9D994B #4B9D99 #994B9D
tetradic
#9D994B #4B9D70 #4B4F9D #9D4B78
square
#9D994B #4B9D70 #4B4F9D #9D4B78
split-complementary
#9D994B #4B789D #704B9D
monochromatic
#4A4823 #747137 #9D994B #B9B56C #CDCA96

Accessibility & contrast

On white

2.96
#9D994B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#9D994B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D994B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D994B#FFFFFF#000000##000000
##9D994B1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49444
Deuteranopia (green-blind)
#A6984F
Tritanopia (blue-blind)
#A79087
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d994b;
/* rgb */ color: rgb(157, 153, 75);
/* oklch */ color: oklch(67.0% 0.101 106.2);
Tailwind
colors: {
  custom: {
    50: '#bcb67f',
    500: '#9d994b',
    950: '#000000',
  },
}
SCSS
$custom: #9d994b;
$custom-light: #bcb67f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d994b",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 75
  },
  "hsl": {
    "h": 57.073,
    "s": 35.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.10065,
    "h": 106.2
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#9D994B
secondary
#8B8DB9
accent
#62CB5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D994B

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

Preview Lab → · Contrast checker → · Palette generator →

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