#9D8933#9D8933

#9D8933 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.107 H 96.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D8933
RGBrgb(157, 137, 51)
HSLhsl(49, 51%, 41%)
HSVhsv(49, 68%, 62%)
CMYKcmyk(0%, 12.7%, 67.5%, 38.4%)
CIE-LABlab(57.37, -2.64, 47.22)
CIE-LCHlch(57.37, 47.30, 93.20°)
OKLaboklab(63.16% -0.0112 0.1068)
OKLCHoklch(63.16% 0.107 96)
XYZxyz(23.4489, 25.2996, 6.7795)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8933 #33479D
analogous
#9D5433 #9D8933 #7C9D33
triadic
#9D8933 #339D89 #89339D
tetradic
#9D8933 #339D54 #33479D #9D337C
square
#9D8933 #339D54 #33479D #9D337C
split-complementary
#9D8933 #337C9D #54339D
monochromatic
#413815 #6F6124 #9D8933 #C4AD49 #D3C277

Accessibility & contrast

On white

3.47
#9D8933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9D8933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8933
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8933#FFFFFF#000000##000000
##9D89331.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978628
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8933;
/* rgb */ color: rgb(157, 137, 51);
/* oklch */ color: oklch(63.2% 0.107 96.0);
Tailwind
colors: {
  custom: {
    50: '#bdab6f',
    500: '#9d8933',
    950: '#000000',
  },
}
SCSS
$custom: #9d8933;
$custom-light: #bdab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8933",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 51
  },
  "hsl": {
    "h": 48.679,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6316,
    "c": 0.10734,
    "h": 96
  },
  "luminance": 0.25298
}

Semantic roles & 50–950 ramp

primary
#9D8933
secondary
#707FBB
accent
#68DA4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8933

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

Preview Lab → · Contrast checker → · Palette generator →

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