#9A8A41#9A8A41

#9A8A41 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.096 H 97.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9A8A41
RGBrgb(154, 138, 65)
HSLhsl(49, 41%, 43%)
HSVhsv(49, 58%, 60%)
CMYKcmyk(0%, 10.4%, 57.8%, 39.6%)
CIE-LABlab(57.49, -3.54, 40.64)
CIE-LCHlch(57.49, 40.80, 94.97°)
OKLaboklab(63.24% -0.0119 0.0948)
OKLCHoklch(63.24% 0.096 97.1)
XYZxyz(23.3699, 25.4296, 8.6774)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A41 #41519A
analogous
#9A5D41 #9A8A41 #7E9A41
triadic
#9A8A41 #419A8A #8A419A
tetradic
#9A8A41 #419A5D #41519A #9A417E
square
#9A8A41 #419A5D #41519A #9A417E
split-complementary
#9A8A41 #417E9A #5D419A
monochromatic
#443D1D #6F632F #9A8A41 #BBAA5D #CDC188

Accessibility & contrast

On white

3.45
#9A8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9A8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A41
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A41#FFFFFF#000000##000000
##9A8A411.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873A
Deuteranopia (green-blind)
#9A8C44
Tritanopia (blue-blind)
#A5817A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a41;
/* rgb */ color: rgb(154, 138, 65);
/* oklch */ color: oklch(63.2% 0.096 97.1);
Tailwind
colors: {
  custom: {
    50: '#baab78',
    500: '#9a8a41',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a41;
$custom-light: #baab78;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a41",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 49.213,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.09553,
    "h": 97.1
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#9A8A41
secondary
#7F89B8
accent
#6DD057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9A8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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