#9D8D29#9D8D29

#9D8D29 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.118 H 99.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9D8D29
RGBrgb(157, 141, 41)
HSLhsl(52, 59%, 39%)
HSVhsv(52, 74%, 62%)
CMYKcmyk(0%, 10.2%, 73.9%, 38.4%)
CIE-LABlab(58.40, -5.38, 52.44)
CIE-LCHlch(58.40, 52.72, 95.86°)
OKLaboklab(63.95% -0.0202 0.116)
OKLCHoklch(63.95% 0.118 99.9)
XYZxyz(23.8309, 26.3791, 5.9338)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D29 #29399D
analogous
#9D5329 #9D8D29 #739D29
triadic
#9D8D29 #299D8D #8D299D
tetradic
#9D8D29 #299D53 #29399D #9D2973
square
#9D8D29 #299D53 #29399D #9D2973
split-complementary
#9D8D29 #29739D #53299D
monochromatic
#3C3610 #6C611C #9D8D29 #CBB738 #D8C869

Accessibility & contrast

On white

3.35
#9D8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9D8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D29
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D29#FFFFFF#000000##000000
##9D8D291.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#A98279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d8d29;
/* rgb */ color: rgb(157, 141, 41);
/* oklch */ color: oklch(64.0% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#bdae6a',
    500: '#9d8d29',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d29;
$custom-light: #bdae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d29",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 51.724,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.11771,
    "h": 99.9
  },
  "luminance": 0.26378
}

Semantic roles & 50–950 ramp

primary
#9D8D29
secondary
#6470BE
accent
#5BE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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