#9D8F4A#9D8F4A

#9D8F4A is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.091 H 98.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D8F4A
RGBrgb(157, 143, 74)
HSLhsl(50, 36%, 45%)
HSVhsv(50, 53%, 62%)
CMYKcmyk(0%, 8.9%, 52.9%, 38.4%)
CIE-LABlab(59.26, -4.19, 38.24)
CIE-LCHlch(59.26, 38.46, 96.25°)
OKLaboklab(64.74% -0.0129 0.0905)
OKLCHoklch(64.74% 0.091 98.1)
XYZxyz(24.9639, 27.3084, 10.4333)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8F4A #4A589D
analogous
#9D664A #9D8F4A #819D4A
triadic
#9D8F4A #4A9D8F #8F4A9D
tetradic
#9D8F4A #4A9D66 #4A589D #9D4A81
square
#9D8F4A #4A9D66 #4A589D #9D4A81
split-complementary
#9D8F4A #4A819D #664A9D
monochromatic
#4A4323 #736936 #9D8F4A #B9AC6B #CDC395

Accessibility & contrast

On white

3.25
#9D8F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9D8F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8F4A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8F4A#FFFFFF#000000##000000
##9D8F4A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C44
Deuteranopia (green-blind)
#9F914D
Tritanopia (blue-blind)
#A8867F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d8f4a;
/* rgb */ color: rgb(157, 143, 74);
/* oklch */ color: oklch(64.7% 0.091 98.1);
Tailwind
colors: {
  custom: {
    50: '#bcaf7e',
    500: '#9d8f4a',
    950: '#000000',
  },
}
SCSS
$custom: #9d8f4a;
$custom-light: #bcaf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8f4a",
  "rgb": {
    "r": 157,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 49.88,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.09137,
    "h": 98.1
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#9D8F4A
secondary
#8A92B9
accent
#6FCC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D8F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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