#9D8A32#9D8A32

#9D8A32 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.109 H 96.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9D8A32
RGBrgb(157, 138, 50)
HSLhsl(49, 52%, 41%)
HSVhsv(49, 68%, 62%)
CMYKcmyk(0%, 12.1%, 68.2%, 38.4%)
CIE-LABlab(57.63, -3.25, 47.95)
CIE-LCHlch(57.63, 48.06, 93.88°)
OKLaboklab(63.37% -0.0131 0.1081)
OKLCHoklch(63.37% 0.109 96.9)
XYZxyz(23.5699, 25.5765, 6.7123)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A32 #32459D
analogous
#9D5432 #9D8A32 #7A9D32
triadic
#9D8A32 #329D8A #8A329D
tetradic
#9D8A32 #329D54 #32459D #9D327A
square
#9D8A32 #329D54 #32459D #9D327A
split-complementary
#9D8A32 #327A9D #54329D
monochromatic
#403814 #6F6123 #9D8A32 #C5AE48 #D3C376

Accessibility & contrast

On white

3.43
#9D8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9D8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A32
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A32#FFFFFF#000000##000000
##9D8A321.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9D8D37
Tritanopia (blue-blind)
#A98078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a32;
/* rgb */ color: rgb(157, 138, 50);
/* oklch */ color: oklch(63.4% 0.109 96.9);
Tailwind
colors: {
  custom: {
    50: '#bdab6f',
    500: '#9d8a32',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a32;
$custom-light: #bdab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a32",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 49.346,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.1089,
    "h": 96.9
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#9D8A32
secondary
#6F7DBC
accent
#66DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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