#9D9733#9D9733

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

Color values

HEX#9D9733
RGBrgb(157, 151, 51)
HSLhsl(57, 51%, 41%)
HSVhsv(57, 68%, 62%)
CMYKcmyk(0%, 3.8%, 67.5%, 38.4%)
CIE-LABlab(61.26, -10.23, 51.27)
CIE-LCHlch(61.26, 52.28, 101.28°)
OKLaboklab(66.25% -0.0328 0.1153)
OKLCHoklch(66.25% 0.12 105.9)
XYZxyz(25.5697, 29.5412, 7.4865)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9733 #33399D
analogous
#9D6233 #9D9733 #6E9D33
triadic
#9D9733 #339D97 #97339D
tetradic
#9D9733 #339D62 #33399D #9D336E
square
#9D9733 #339D62 #33399D #9D336E
split-complementary
#9D9733 #336E9D #62339D
monochromatic
#413E15 #6F6B24 #9D9733 #C4BD49 #D3CE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9733#FFFFFF#000000##000000
##9D97331.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)
#A49125
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#A88D83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9733;
/* rgb */ color: rgb(157, 151, 51);
/* oklch */ color: oklch(66.2% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#bdb570',
    500: '#9d9733',
    950: '#000000',
  },
}
SCSS
$custom: #9d9733;
$custom-light: #bdb570;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9733",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 56.604,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66249,
    "c": 0.11987,
    "h": 105.9
  },
  "luminance": 0.2954
}

Semantic roles & 50–950 ramp

primary
#9D9733
secondary
#7075BB
accent
#55DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9733

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

Preview Lab → · Contrast checker → · Palette generator →

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