#9A8D4E#9A8D4E

#9A8D4E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.085 H 98.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9A8D4E
RGBrgb(154, 141, 78)
HSLhsl(50, 33%, 45%)
HSVhsv(50, 49%, 60%)
CMYKcmyk(0%, 8.4%, 49.4%, 39.6%)
CIE-LABlab(58.48, -4.02, 35.16)
CIE-LCHlch(58.48, 35.39, 96.52°)
OKLaboklab(64.07% -0.0117 0.0841)
OKLCHoklch(64.07% 0.085 98)
XYZxyz(24.2272, 26.4707, 11.0394)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D4E #4E5B9A
analogous
#9A674E #9A8D4E #819A4E
triadic
#9A8D4E #4E9A8D #8D4E9A
tetradic
#9A8D4E #4E9A67 #4E5B9A #9A4E81
square
#9A8D4E #4E9A67 #4E5B9A #9A4E81
split-complementary
#9A8D4E #4E819A #674E9A
monochromatic
#494325 #716839 #9A8D4E #B6AA6F #CBC298

Accessibility & contrast

On white

3.34
#9A8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9A8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D4E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D4E#FFFFFF#000000##000000
##9A8D4E1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A4857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9a8d4e;
/* rgb */ color: rgb(154, 141, 78);
/* oklch */ color: oklch(64.1% 0.085 98.0);
Tailwind
colors: {
  custom: {
    50: '#b9ae81',
    500: '#9a8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d4e;
$custom-light: #b9ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d4e",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 49.737,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64071,
    "c": 0.0849,
    "h": 98
  },
  "luminance": 0.2647
}

Semantic roles & 50–950 ramp

primary
#9A8D4E
secondary
#8D94B7
accent
#71C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9A8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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