#9D9732#9D9732

#9D9732 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.121 H 105.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D9732
RGBrgb(157, 151, 50)
HSLhsl(57, 52%, 41%)
HSVhsv(57, 68%, 62%)
CMYKcmyk(0%, 3.8%, 68.2%, 38.4%)
CIE-LABlab(61.25, -10.29, 51.67)
CIE-LCHlch(61.25, 52.69, 101.26°)
OKLaboklab(66.24% -0.0331 0.116)
OKLCHoklch(66.24% 0.121 105.9)
XYZxyz(25.5479, 29.5325, 7.3716)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9732 #32389D
analogous
#9D6232 #9D9732 #6D9D32
triadic
#9D9732 #329D97 #97329D
tetradic
#9D9732 #329D62 #32389D #9D326D
square
#9D9732 #329D62 #32389D #9D326D
split-complementary
#9D9732 #326D9D #62329D
monochromatic
#403E14 #6F6A23 #9D9732 #C5BE48 #D3CE76

Accessibility & contrast

On white

3.04
#9D9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9D9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9732
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9732#FFFFFF#000000##000000
##9D97321.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49124
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#A88D83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9732;
/* rgb */ color: rgb(157, 151, 50);
/* oklch */ color: oklch(66.2% 0.121 105.9);
Tailwind
colors: {
  custom: {
    50: '#bdb570',
    500: '#9d9732',
    950: '#000000',
  },
}
SCSS
$custom: #9d9732;
$custom-light: #bdb570;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9732",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 56.636,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6624,
    "c": 0.12061,
    "h": 105.9
  },
  "luminance": 0.29532
}

Semantic roles & 50–950 ramp

primary
#9D9732
secondary
#6F73BC
accent
#55DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9732

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

Preview Lab → · Contrast checker → · Palette generator →

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