#9D8A4E#9D8A4E

#9D8A4E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.083 H 92.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9D8A4E
RGBrgb(157, 138, 78)
HSLhsl(46, 34%, 46%)
HSVhsv(46, 50%, 62%)
CMYKcmyk(0%, 12.1%, 50.3%, 38.4%)
CIE-LABlab(57.94, -1.06, 34.56)
CIE-LCHlch(57.94, 34.57, 91.75°)
OKLaboklab(63.71% -0.0034 0.0827)
OKLCHoklch(63.71% 0.083 92.3)
XYZxyz(24.3691, 25.8962, 10.9211)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A4E #4E619D
analogous
#9D624E #9D8A4E #889D4E
triadic
#9D8A4E #4E9D8A #8A4E9D
tetradic
#9D8A4E #4E9D62 #4E619D #9D4E88
square
#9D8A4E #4E9D62 #4E619D #9D4E88
split-complementary
#9D8A4E #4E889D #624E9D
monochromatic
#4B4225 #74663A #9D8A4E #B8A770 #CCC099

Accessibility & contrast

On white

3.40
#9D8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9D8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A4E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A4E#FFFFFF#000000##000000
##9D8A4E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#9A8E50
Tritanopia (blue-blind)
#A8827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d8a4e;
/* rgb */ color: rgb(157, 138, 78);
/* oklch */ color: oklch(63.7% 0.083 92.3);
Tailwind
colors: {
  custom: {
    50: '#bcac81',
    500: '#9d8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a4e;
$custom-light: #bcac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a4e",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 45.57,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.08277,
    "h": 92.3
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#9D8A4E
secondary
#8E98B9
accent
#78CA5E
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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