#9D9331#9D9331

#9D9331 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.117 H 103.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9D9331
RGBrgb(157, 147, 49)
HSLhsl(54, 52%, 40%)
HSVhsv(54, 69%, 62%)
CMYKcmyk(0%, 6.4%, 68.8%, 38.4%)
CIE-LABlab(60.12, -8.20, 50.94)
CIE-LCHlch(60.12, 51.60, 99.15°)
OKLaboklab(65.34% -0.0273 0.1143)
OKLCHoklch(65.34% 0.117 103.5)
XYZxyz(24.8937, 28.2583, 7.0483)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9331 #313B9D
analogous
#9D5D31 #9D9331 #719D31
triadic
#9D9331 #319D93 #93319D
tetradic
#9D9331 #319D5D #313B9D #9D3171
square
#9D9331 #319D5D #313B9D #9D3171
split-complementary
#9D9331 #31719D #5D319D
monochromatic
#403C14 #6E6722 #9D9331 #C5B946 #D4CB75

Accessibility & contrast

On white

3.16
#9D9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9D9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9331
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9331#FFFFFF#000000##000000
##9D93311.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#A9897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9331;
/* rgb */ color: rgb(157, 147, 49);
/* oklch */ color: oklch(65.3% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#bdb26f',
    500: '#9d9331',
    950: '#000000',
  },
}
SCSS
$custom: #9d9331;
$custom-light: #bdb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9331",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 54.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.11748,
    "h": 103.5
  },
  "luminance": 0.28257
}

Semantic roles & 50–950 ramp

primary
#9D9331
secondary
#6E75BC
accent
#59DC4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D9331

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

Preview Lab → · Contrast checker → · Palette generator →

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