#9A8A4E#9A8A4E

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

Color values

HEX#9A8A4E
RGBrgb(154, 138, 78)
HSLhsl(47, 33%, 45%)
HSVhsv(47, 49%, 60%)
CMYKcmyk(0%, 10.4%, 49.4%, 39.6%)
CIE-LABlab(57.65, -2.36, 34.14)
CIE-LCHlch(57.65, 34.22, 93.96°)
OKLaboklab(63.42% -0.007 0.0818)
OKLCHoklch(63.42% 0.082 94.9)
XYZxyz(23.7908, 25.5980, 10.8940)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A4E #4E5E9A
analogous
#9A644E #9A8A4E #849A4E
triadic
#9A8A4E #4E9A8A #8A4E9A
tetradic
#9A8A4E #4E9A64 #4E5E9A #9A4E84
square
#9A8A4E #4E9A64 #4E5E9A #9A4E84
split-complementary
#9A8A4E #4E849A #644E9A
monochromatic
#494125 #716639 #9A8A4E #B6A76F #CBC098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8A4E#FFFFFF#000000##000000
##9A8A4E1.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)
#958849
Deuteranopia (green-blind)
#998D50
Tritanopia (blue-blind)
#A4827C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a4e;
/* rgb */ color: rgb(154, 138, 78);
/* oklch */ color: oklch(63.4% 0.082 94.9);
Tailwind
colors: {
  custom: {
    50: '#b9ac81',
    500: '#9a8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a4e;
$custom-light: #b9ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a4e",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 47.368,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.08212,
    "h": 94.9
  },
  "luminance": 0.25597
}

Semantic roles & 50–950 ramp

primary
#9A8A4E
secondary
#8D96B7
accent
#75C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9A8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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