#9A8A32#9A8A32

#9A8A32 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.109 H 98.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9A8A32
RGBrgb(154, 138, 50)
HSLhsl(51, 51%, 40%)
HSVhsv(51, 68%, 60%)
CMYKcmyk(0%, 10.4%, 67.5%, 39.6%)
CIE-LABlab(57.35, -4.60, 47.56)
CIE-LCHlch(57.35, 47.78, 95.53°)
OKLaboklab(63.07% -0.0168 0.1074)
OKLCHoklch(63.07% 0.109 98.9)
XYZxyz(22.9916, 25.2783, 6.6851)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A32 #32429A
analogous
#9A5632 #9A8A32 #769A32
triadic
#9A8A32 #329A8A #8A329A
tetradic
#9A8A32 #329A56 #32429A #9A3276
square
#9A8A32 #329A56 #32429A #9A3276
split-complementary
#9A8A32 #32769A #56329A
monochromatic
#3E3714 #6C6123 #9A8A32 #C3B046 #D2C474

Accessibility & contrast

On white

3.47
#9A8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9A8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A32
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A32#FFFFFF#000000##000000
##9A8A321.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978627
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#A68078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a32;
/* rgb */ color: rgb(154, 138, 50);
/* oklch */ color: oklch(63.1% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#bbab6f',
    500: '#9a8a32',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a32;
$custom-light: #bbab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a32",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 50.769,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.10868,
    "h": 98.9
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#9A8A32
secondary
#6E79BA
accent
#63DA4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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