#9D993B#9D993B

#9D993B is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.116 H 106.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D993B
RGBrgb(157, 153, 59)
HSLhsl(58, 45%, 42%)
HSVhsv(58, 62%, 62%)
CMYKcmyk(0%, 2.5%, 62.4%, 38.4%)
CIE-LABlab(61.88, -10.77, 48.46)
CIE-LCHlch(61.88, 49.64, 102.54°)
OKLaboklab(66.77% -0.0335 0.1106)
OKLCHoklch(66.77% 0.116 106.8)
XYZxyz(26.0861, 30.2672, 8.6048)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D993B #3B3F9D
analogous
#9D683B #9D993B #709D3B
triadic
#9D993B #3B9D99 #993B9D
tetradic
#9D993B #3B9D68 #3B3F9D #9D3B70
square
#9D993B #3B9D68 #3B3F9D #9D3B70
split-complementary
#9D993B #3B709D #683B9D
monochromatic
#44421A #716E2A #9D993B #BFBB56 #D0CD82

Accessibility & contrast

On white

2.98
#9D993B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9D993B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D993B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D993B#FFFFFF#000000##000000
##9D993B1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59330
Deuteranopia (green-blind)
#A79741
Tritanopia (blue-blind)
#A88F85
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d993b;
/* rgb */ color: rgb(157, 153, 59);
/* oklch */ color: oklch(66.8% 0.116 106.8);
Tailwind
colors: {
  custom: {
    50: '#bcb675',
    500: '#9d993b',
    950: '#000000',
  },
}
SCSS
$custom: #9d993b;
$custom-light: #bcb675;
$custom-dark: #000000;
JSON
{
  "hex": "#9d993b",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 57.551,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6677,
    "c": 0.11556,
    "h": 106.8
  },
  "luminance": 0.30266
}

Semantic roles & 50–950 ramp

primary
#9D993B
secondary
#7A7CBA
accent
#58D553
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D993B

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

Preview Lab → · Contrast checker → · Palette generator →

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