#9D8D35#9D8D35

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

Color values

HEX#9D8D35
RGBrgb(157, 141, 53)
HSLhsl(51, 50%, 41%)
HSVhsv(51, 66%, 62%)
CMYKcmyk(0%, 10.2%, 66.2%, 38.4%)
CIE-LABlab(58.49, -4.71, 47.51)
CIE-LCHlch(58.49, 47.74, 95.66°)
OKLaboklab(64.05% -0.0169 0.1077)
OKLCHoklch(64.05% 0.109 98.9)
XYZxyz(24.0732, 26.4760, 7.2098)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D35 #35459D
analogous
#9D5935 #9D8D35 #799D35
triadic
#9D8D35 #359D8D #8D359D
tetradic
#9D8D35 #359D59 #35459D #9D3579
square
#9D8D35 #359D59 #35459D #9D3579
split-complementary
#9D8D35 #35799D #59359D
monochromatic
#413B16 #6F6426 #9D8D35 #C3B14C #D2C57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D8D35#FFFFFF#000000##000000
##9D8D351.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)
#9A892A
Deuteranopia (green-blind)
#9F8F3A
Tritanopia (blue-blind)
#A9837B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d35;
/* rgb */ color: rgb(157, 141, 53);
/* oklch */ color: oklch(64.1% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#bdae71',
    500: '#9d8d35',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d35;
$custom-light: #bdae71;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d35",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 50.769,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.10901,
    "h": 98.9
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#9D8D35
secondary
#737EBB
accent
#64D94F
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8D35

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

Preview Lab → · Contrast checker → · Palette generator →

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