#9A9331#9A9331

#9A9331 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.118 H 105.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9A9331
RGBrgb(154, 147, 49)
HSLhsl(56, 52%, 40%)
HSVhsv(56, 68%, 60%)
CMYKcmyk(0%, 4.5%, 68.2%, 39.6%)
CIE-LABlab(59.85, -9.54, 50.58)
CIE-LCHlch(59.85, 51.47, 100.68°)
OKLaboklab(65.06% -0.0309 0.1136)
OKLCHoklch(65.06% 0.118 105.2)
XYZxyz(24.3155, 27.9601, 7.0211)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9331 #31389A
analogous
#9A5F31 #9A9331 #6D9A31
triadic
#9A9331 #319A93 #93319A
tetradic
#9A9331 #319A5F #31389A #9A316D
square
#9A9331 #319A5F #31389A #9A316D
split-complementary
#9A9331 #316D9A #5F319A
monochromatic
#3D3A13 #6C6722 #9A9331 #C4BB45 #D2CC73

Accessibility & contrast

On white

3.19
#9A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9331
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9331#FFFFFF#000000##000000
##9A93311.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#A5897F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a9331;
/* rgb */ color: rgb(154, 147, 49);
/* oklch */ color: oklch(65.1% 0.118 105.2);
Tailwind
colors: {
  custom: {
    50: '#bbb26f',
    500: '#9a9331',
    950: '#000000',
  },
}
SCSS
$custom: #9a9331;
$custom-light: #bbb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9331",
  "rgb": {
    "r": 154,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 56,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.11774,
    "h": 105.2
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#9A9331
secondary
#6C72BA
accent
#56DB4D
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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