#9A8A4B#9A8A4B

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

Color values

HEX#9A8A4B
RGBrgb(154, 138, 75)
HSLhsl(48, 34%, 45%)
HSVhsv(48, 51%, 60%)
CMYKcmyk(0%, 10.4%, 51.3%, 39.6%)
CIE-LABlab(57.61, -2.65, 35.67)
CIE-LCHlch(57.61, 35.77, 94.25°)
OKLaboklab(63.37% -0.0081 0.085)
OKLCHoklch(63.37% 0.085 95.5)
XYZxyz(23.6857, 25.5559, 10.3404)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A4B #4B5B9A
analogous
#9A624B #9A8A4B #839A4B
triadic
#9A8A4B #4B9A8A #8A4B9A
tetradic
#9A8A4B #4B9A62 #4B5B9A #9A4B83
square
#9A8A4B #4B9A62 #4B5B9A #9A4B83
split-complementary
#9A8A4B #4B839A #624B9A
monochromatic
#484023 #716537 #9A8A4B #B7A86B #CBC094

Accessibility & contrast

On white

3.44
#9A8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9A8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A4B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A4B#FFFFFF#000000##000000
##9A8A4B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958746
Deuteranopia (green-blind)
#9A8D4E
Tritanopia (blue-blind)
#A4827B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a4b;
/* rgb */ color: rgb(154, 138, 75);
/* oklch */ color: oklch(63.4% 0.085 95.5);
Tailwind
colors: {
  custom: {
    50: '#b9ac7f',
    500: '#9a8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a4b;
$custom-light: #b9ac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a4b",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 47.848,
    "s": 34.498,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63371,
    "c": 0.08536,
    "h": 95.5
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#9A8A4B
secondary
#8A93B7
accent
#73CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9A8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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