#9C8A37#9C8A37

#9C8A37 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.105 H 97.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C8A37
RGBrgb(156, 138, 55)
HSLhsl(49, 48%, 41%)
HSVhsv(49, 65%, 61%)
CMYKcmyk(0%, 11.5%, 64.7%, 38.8%)
CIE-LABlab(57.58, -3.38, 45.60)
CIE-LCHlch(57.58, 45.73, 94.24°)
OKLaboklab(63.32% -0.0128 0.104)
OKLCHoklch(63.32% 0.105 97)
XYZxyz(23.4894, 25.5218, 7.3026)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A37 #37499C
analogous
#9C5837 #9C8A37 #7C9C37
triadic
#9C8A37 #379C8A #8A379C
tetradic
#9C8A37 #379C58 #37499C #9C377C
square
#9C8A37 #379C58 #37499C #9C377C
split-complementary
#9C8A37 #377C9C #58379C
monochromatic
#423A17 #6F6227 #9C8A37 #C1AD4F #D1C27C

Accessibility & contrast

On white

3.44
#9C8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9C8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A37
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A37#FFFFFF#000000##000000
##9C8A371.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8a37;
/* rgb */ color: rgb(156, 138, 55);
/* oklch */ color: oklch(63.3% 0.105 97.0);
Tailwind
colors: {
  custom: {
    50: '#bcab72',
    500: '#9c8a37',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a37;
$custom-light: #bcab72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a37",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 49.307,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.10478,
    "h": 97
  },
  "luminance": 0.25521
}

Semantic roles & 50–950 ramp

primary
#9C8A37
secondary
#7581BA
accent
#68D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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