#9A8A37#9A8A37

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

Color values

HEX#9A8A37
RGBrgb(154, 138, 55)
HSLhsl(50, 47%, 41%)
HSVhsv(50, 64%, 60%)
CMYKcmyk(0%, 10.4%, 64.3%, 39.6%)
CIE-LABlab(57.39, -4.28, 45.34)
CIE-LCHlch(57.39, 45.54, 95.39°)
OKLaboklab(63.12% -0.0152 0.1035)
OKLCHoklch(63.12% 0.105 98.4)
XYZxyz(23.1055, 25.3239, 7.2846)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A37 #37479A
analogous
#9A5837 #9A8A37 #789A37
triadic
#9A8A37 #379A8A #8A379A
tetradic
#9A8A37 #379A58 #37479A #9A3778
square
#9A8A37 #379A58 #37479A #9A3778
split-complementary
#9A8A37 #37789A #58379A
monochromatic
#403917 #6D6227 #9A8A37 #C0AE4E #D0C27B

Accessibility & contrast

On white

3.46
#9A8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8A37#FFFFFF#000000##000000
##9A8A371.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#A68078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a37;
/* rgb */ color: rgb(154, 138, 55);
/* oklch */ color: oklch(63.1% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#baab72',
    500: '#9a8a37',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a37;
$custom-light: #baab72;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a37",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 50.303,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.10461,
    "h": 98.4
  },
  "luminance": 0.25323
}

Semantic roles & 50–950 ramp

primary
#9A8A37
secondary
#747FB9
accent
#67D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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