#9D8D33#9D8D33

#9D8D33 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.111 H 99.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9D8D33
RGBrgb(157, 141, 51)
HSLhsl(51, 51%, 41%)
HSVhsv(51, 68%, 62%)
CMYKcmyk(0%, 10.2%, 67.5%, 38.4%)
CIE-LABlab(58.47, -4.84, 48.38)
CIE-LCHlch(58.47, 48.62, 95.71°)
OKLaboklab(64.03% -0.0175 0.1092)
OKLCHoklch(64.03% 0.111 99.1)
XYZxyz(24.0281, 26.4580, 6.9726)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D33 #33439D
analogous
#9D5833 #9D8D33 #789D33
triadic
#9D8D33 #339D8D #8D339D
tetradic
#9D8D33 #339D58 #33439D #9D3378
square
#9D8D33 #339D58 #33439D #9D3378
split-complementary
#9D8D33 #33789D #58339D
monochromatic
#413A15 #6F6424 #9D8D33 #C4B149 #D3C577

Accessibility & contrast

On white

3.34
#9D8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9D8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D33
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D33#FFFFFF#000000##000000
##9D8D331.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8927
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#A9837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d33;
/* rgb */ color: rgb(157, 141, 51);
/* oklch */ color: oklch(64.0% 0.111 99.1);
Tailwind
colors: {
  custom: {
    50: '#bdae6f',
    500: '#9d8d33',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d33;
$custom-light: #bdae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d33",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 50.943,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.11059,
    "h": 99.1
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

primary
#9D8D33
secondary
#707CBB
accent
#63DA4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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