#9A8A4D#9A8A4D

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

Color values

HEX#9A8A4D
RGBrgb(154, 138, 77)
HSLhsl(48, 33%, 45%)
HSVhsv(48, 50%, 60%)
CMYKcmyk(0%, 10.4%, 50%, 39.6%)
CIE-LABlab(57.64, -2.46, 34.65)
CIE-LCHlch(57.64, 34.74, 94.06°)
OKLaboklab(63.4% -0.0074 0.0829)
OKLCHoklch(63.4% 0.083 95.1)
XYZxyz(23.7552, 25.5838, 10.7066)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A4D #4D5D9A
analogous
#9A634D #9A8A4D #849A4D
triadic
#9A8A4D #4D9A8A #8A4D9A
tetradic
#9A8A4D #4D9A63 #4D5D9A #9A4D84
square
#9A8A4D #4D9A63 #4D5D9A #9A4D84
split-complementary
#9A8A4D #4D849A #634D9A
monochromatic
#484124 #716539 #9A8A4D #B6A76E #CBC097

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8A4D#FFFFFF#000000##000000
##9A8A4D1.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)
#958748
Deuteranopia (green-blind)
#998D4F
Tritanopia (blue-blind)
#A4827B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a4d;
/* rgb */ color: rgb(154, 138, 77);
/* oklch */ color: oklch(63.4% 0.083 95.1);
Tailwind
colors: {
  custom: {
    50: '#b9ac80',
    500: '#9a8a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a4d;
$custom-light: #b9ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a4d",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 47.532,
    "s": 33.333,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63401,
    "c": 0.08321,
    "h": 95.1
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#9A8A4D
secondary
#8C95B7
accent
#75C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9A8A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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