#9D8A36#9D8A36

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

Color values

HEX#9D8A36
RGBrgb(157, 138, 54)
HSLhsl(49, 49%, 41%)
HSVhsv(49, 66%, 62%)
CMYKcmyk(0%, 12.1%, 65.6%, 38.4%)
CIE-LABlab(57.67, -3.00, 46.19)
CIE-LCHlch(57.67, 46.28, 93.72°)
OKLaboklab(63.41% -0.0119 0.105)
OKLCHoklch(63.41% 0.106 96.5)
XYZxyz(23.6600, 25.6125, 7.1868)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A36 #36499D
analogous
#9D5736 #9D8A36 #7D9D36
triadic
#9D8A36 #369D8A #8A369D
tetradic
#9D8A36 #369D57 #36499D #9D367D
square
#9D8A36 #369D57 #36499D #9D367D
split-complementary
#9D8A36 #367D9D #57369D
monochromatic
#423A17 #6F6226 #9D8A36 #C2AD4E #D2C27C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D8A36#FFFFFF#000000##000000
##9D8A361.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)
#97872C
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#A98078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a36;
/* rgb */ color: rgb(157, 138, 54);
/* oklch */ color: oklch(63.4% 0.106 96.5);
Tailwind
colors: {
  custom: {
    50: '#bdab71',
    500: '#9d8a36',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a36;
$custom-light: #bdab71;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a36",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 48.932,
    "s": 48.815,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63407,
    "c": 0.10571,
    "h": 96.5
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

primary
#9D8A36
secondary
#7481BB
accent
#69D84F
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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