#9D8D32#9D8D32

#9D8D32 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.111 H 99.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9D8D32
RGBrgb(157, 141, 50)
HSLhsl(51, 52%, 41%)
HSVhsv(51, 68%, 62%)
CMYKcmyk(0%, 10.2%, 68.2%, 38.4%)
CIE-LABlab(58.46, -4.90, 48.81)
CIE-LCHlch(58.46, 49.05, 95.73°)
OKLaboklab(64.03% -0.0178 0.1099)
OKLCHoklch(64.03% 0.111 99.2)
XYZxyz(24.0063, 26.4492, 6.8577)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D32 #32429D
analogous
#9D5732 #9D8D32 #779D32
triadic
#9D8D32 #329D8D #8D329D
tetradic
#9D8D32 #329D57 #32429D #9D3277
square
#9D8D32 #329D57 #32429D #9D3277
split-complementary
#9D8D32 #32779D #57329D
monochromatic
#403A14 #6F6323 #9D8D32 #C5B248 #D3C576

Accessibility & contrast

On white

3.34
#9D8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9D8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D32
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D32#FFFFFF#000000##000000
##9D8D321.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#A9837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d32;
/* rgb */ color: rgb(157, 141, 50);
/* oklch */ color: oklch(64.0% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#bdae6f',
    500: '#9d8d32',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d32;
$custom-light: #bdae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d32",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 51.028,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64025,
    "c": 0.11136,
    "h": 99.2
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#9D8D32
secondary
#6F7BBC
accent
#62DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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