#9D9533#9D9533

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

Color values

HEX#9D9533
RGBrgb(157, 149, 51)
HSLhsl(55, 51%, 41%)
HSVhsv(55, 68%, 62%)
CMYKcmyk(0%, 5.1%, 67.5%, 38.4%)
CIE-LABlab(60.70, -9.16, 50.69)
CIE-LCHlch(60.70, 51.51, 100.24°)
OKLaboklab(65.8% -0.0298 0.1141)
OKLCHoklch(65.8% 0.118 104.6)
XYZxyz(25.2506, 28.9029, 7.3801)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9533 #333B9D
analogous
#9D6033 #9D9533 #709D33
triadic
#9D9533 #339D95 #95339D
tetradic
#9D9533 #339D60 #333B9D #9D3370
square
#9D9533 #339D60 #333B9D #9D3370
split-complementary
#9D9533 #33709D #60339D
monochromatic
#413D15 #6F6924 #9D9533 #C4BB49 #D3CC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9533#FFFFFF#000000##000000
##9D95331.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)
#A29026
Deuteranopia (green-blind)
#A59439
Tritanopia (blue-blind)
#A98B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9533;
/* rgb */ color: rgb(157, 149, 51);
/* oklch */ color: oklch(65.8% 0.118 104.6);
Tailwind
colors: {
  custom: {
    50: '#bdb370',
    500: '#9d9533',
    950: '#000000',
  },
}
SCSS
$custom: #9d9533;
$custom-light: #bdb370;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9533",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 55.472,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65802,
    "c": 0.1179,
    "h": 104.6
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#9D9533
secondary
#7076BB
accent
#58DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9533

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

Preview Lab → · Contrast checker → · Palette generator →

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