#9D8A39#9D8A39

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

Color values

HEX#9D8A39
RGBrgb(157, 138, 57)
HSLhsl(49, 47%, 42%)
HSVhsv(49, 64%, 62%)
CMYKcmyk(0%, 12.1%, 63.7%, 38.4%)
CIE-LABlab(57.70, -2.80, 44.82)
CIE-LCHlch(57.70, 44.91, 93.57°)
OKLaboklab(63.44% -0.0109 0.1026)
OKLCHoklch(63.44% 0.103 96.1)
XYZxyz(23.7327, 25.6416, 7.5693)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A39 #394C9D
analogous
#9D5839 #9D8A39 #7E9D39
triadic
#9D8A39 #399D8A #8A399D
tetradic
#9D8A39 #399D58 #394C9D #9D397E
square
#9D8A39 #399D58 #394C9D #9D397E
split-complementary
#9D8A39 #397E9D #58399D
monochromatic
#433B18 #706329 #9D8A39 #C0AC53 #D1C180

Accessibility & contrast

On white

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

On black

6.13
#9D8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A39
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A39#FFFFFF#000000##000000
##9D8A391.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978730
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#A98079
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d8a39;
/* rgb */ color: rgb(157, 138, 57);
/* oklch */ color: oklch(63.4% 0.103 96.1);
Tailwind
colors: {
  custom: {
    50: '#bdab73',
    500: '#9d8a39',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a39;
$custom-light: #bdab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a39",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 48.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63438,
    "c": 0.10319,
    "h": 96.1
  },
  "luminance": 0.2564
}

Semantic roles & 50–950 ramp

primary
#9D8A39
secondary
#7884BA
accent
#6BD651
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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