#9D9532#9D9532

#9D9532 is a light, moderate yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.119 H 104.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D9532
RGBrgb(157, 149, 50)
HSLhsl(56, 52%, 41%)
HSVhsv(56, 68%, 62%)
CMYKcmyk(0%, 5.1%, 68.2%, 38.4%)
CIE-LABlab(60.69, -9.22, 51.10)
CIE-LCHlch(60.69, 51.93, 100.23°)
OKLaboklab(65.79% -0.0301 0.1148)
OKLCHoklch(65.79% 0.119 104.7)
XYZxyz(25.2288, 28.8942, 7.2652)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9532 #323A9D
analogous
#9D5F32 #9D9532 #6F9D32
triadic
#9D9532 #329D95 #95329D
tetradic
#9D9532 #329D5F #323A9D #9D326F
square
#9D9532 #329D5F #323A9D #9D326F
split-complementary
#9D9532 #326F9D #5F329D
monochromatic
#403D14 #6F6923 #9D9532 #C5BB48 #D3CC76

Accessibility & contrast

On white

3.10
#9D9532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9D9532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9532
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9532#FFFFFF#000000##000000
##9D95321.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29024
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#A98B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9532;
/* rgb */ color: rgb(157, 149, 50);
/* oklch */ color: oklch(65.8% 0.119 104.7);
Tailwind
colors: {
  custom: {
    50: '#bdb370',
    500: '#9d9532',
    950: '#000000',
  },
}
SCSS
$custom: #9d9532;
$custom-light: #bdb370;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9532",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 55.514,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.11865,
    "h": 104.7
  },
  "luminance": 0.28893
}

Semantic roles & 50–950 ramp

primary
#9D9532
secondary
#6F75BC
accent
#57DB4D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9532

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

Preview Lab → · Contrast checker → · Palette generator →

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