#9D8A35#9D8A35

#9D8A35 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.107 H 96.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D8A35
RGBrgb(157, 138, 53)
HSLhsl(49, 50%, 41%)
HSVhsv(49, 66%, 62%)
CMYKcmyk(0%, 12.1%, 66.2%, 38.4%)
CIE-LABlab(57.66, -3.07, 46.63)
CIE-LCHlch(57.66, 46.73, 93.76°)
OKLaboklab(63.4% -0.0122 0.1058)
OKLCHoklch(63.4% 0.107 96.6)
XYZxyz(23.6368, 25.6033, 7.0644)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A35 #35489D
analogous
#9D5635 #9D8A35 #7C9D35
triadic
#9D8A35 #359D8A #8A359D
tetradic
#9D8A35 #359D56 #35489D #9D357C
square
#9D8A35 #359D56 #35489D #9D357C
split-complementary
#9D8A35 #357C9D #56359D
monochromatic
#413A16 #6F6226 #9D8A35 #C3AD4C #D2C27A

Accessibility & contrast

On white

3.43
#9D8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9D8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A35
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A35#FFFFFF#000000##000000
##9D8A351.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872B
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#A98078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a35;
/* rgb */ color: rgb(157, 138, 53);
/* oklch */ color: oklch(63.4% 0.107 96.6);
Tailwind
colors: {
  custom: {
    50: '#bdab70',
    500: '#9d8a35',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a35;
$custom-light: #bdab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a35",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 49.038,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.10652,
    "h": 96.6
  },
  "luminance": 0.25602
}

Semantic roles & 50–950 ramp

primary
#9D8A35
secondary
#7380BB
accent
#68D94F
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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