#9A9237#9A9237

#9A9237 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.112 H 104.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9A9237
RGBrgb(154, 146, 55)
HSLhsl(55, 47%, 41%)
HSVhsv(55, 64%, 60%)
CMYKcmyk(0%, 5.2%, 64.3%, 39.6%)
CIE-LABlab(59.62, -8.63, 47.74)
CIE-LCHlch(59.62, 48.51, 100.25°)
OKLaboklab(64.89% -0.0277 0.1086)
OKLCHoklch(64.89% 0.112 104.3)
XYZxyz(24.2958, 27.7045, 7.6814)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9237 #373F9A
analogous
#9A6037 #9A9237 #709A37
triadic
#9A9237 #379A92 #92379A
tetradic
#9A9237 #379A60 #373F9A #9A3770
square
#9A9237 #379A60 #373F9A #9A3770
split-complementary
#9A9237 #37709A #60379A
monochromatic
#403C17 #6D6727 #9A9237 #C0B74E #D0C97B

Accessibility & contrast

On white

3.21
#9A9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9A9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9237
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9237#FFFFFF#000000##000000
##9A92371.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2C
Deuteranopia (green-blind)
#A1923C
Tritanopia (blue-blind)
#A5887F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a9237;
/* rgb */ color: rgb(154, 146, 55);
/* oklch */ color: oklch(64.9% 0.112 104.3);
Tailwind
colors: {
  custom: {
    50: '#bab172',
    500: '#9a9237',
    950: '#000000',
  },
}
SCSS
$custom: #9a9237;
$custom-light: #bab172;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9237",
  "rgb": {
    "r": 154,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 55.152,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.11205,
    "h": 104.3
  },
  "luminance": 0.27704
}

Semantic roles & 50–950 ramp

primary
#9A9237
secondary
#7479B9
accent
#5CD751
background
#FBFAF7
surface
#F7F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A9237

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

Preview Lab → · Contrast checker → · Palette generator →

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