#9A9232#9A9232

#9A9232 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 64.8% C 0.116 H 104.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9A9232
RGBrgb(154, 146, 50)
HSLhsl(55, 51%, 40%)
HSVhsv(55, 68%, 60%)
CMYKcmyk(0%, 5.2%, 67.5%, 39.6%)
CIE-LABlab(59.58, -8.95, 49.88)
CIE-LCHlch(59.58, 50.67, 100.17°)
OKLaboklab(64.85% -0.0291 0.1123)
OKLCHoklch(64.85% 0.116 104.5)
XYZxyz(24.1820, 27.6590, 7.0819)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9232 #323A9A
analogous
#9A5E32 #9A9232 #6E9A32
triadic
#9A9232 #329A92 #92329A
tetradic
#9A9232 #329A5E #323A9A #9A326E
square
#9A9232 #329A5E #323A9A #9A326E
split-complementary
#9A9232 #326E9A #5E329A
monochromatic
#3E3A14 #6C6623 #9A9232 #C3B946 #D2CB74

Accessibility & contrast

On white

3.22
#9A9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9A9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9232
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9232#FFFFFF#000000##000000
##9A92321.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D25
Deuteranopia (green-blind)
#A19238
Tritanopia (blue-blind)
#A5887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a9232;
/* rgb */ color: rgb(154, 146, 50);
/* oklch */ color: oklch(64.8% 0.116 104.5);
Tailwind
colors: {
  custom: {
    50: '#bbb16f',
    500: '#9a9232',
    950: '#000000',
  },
}
SCSS
$custom: #9a9232;
$custom-light: #bbb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9232",
  "rgb": {
    "r": 154,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 55.385,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.116,
    "h": 104.5
  },
  "luminance": 0.27658
}

Semantic roles & 50–950 ramp

primary
#9A9232
secondary
#6E74BA
accent
#58DA4D
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A9232

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

Preview Lab → · Contrast checker → · Palette generator →

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