#9C8A36#9C8A36

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

Color values

HEX#9C8A36
RGBrgb(156, 138, 54)
HSLhsl(49, 49%, 41%)
HSVhsv(49, 65%, 61%)
CMYKcmyk(0%, 11.5%, 65.4%, 38.8%)
CIE-LABlab(57.57, -3.45, 46.05)
CIE-LCHlch(57.57, 46.18, 94.28°)
OKLaboklab(63.31% -0.0131 0.1048)
OKLCHoklch(63.31% 0.106 97.1)
XYZxyz(23.4657, 25.5123, 7.1777)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A36 #36489C
analogous
#9C5736 #9C8A36 #7B9C36
triadic
#9C8A36 #369C8A #8A369C
tetradic
#9C8A36 #369C57 #36489C #9C367B
square
#9C8A36 #369C57 #36489C #9C367B
split-complementary
#9C8A36 #367B9C #57369C
monochromatic
#413A17 #6F6226 #9C8A36 #C2AD4E #D1C27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A36#FFFFFF#000000##000000
##9C8A361.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)
#97872C
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a36;
/* rgb */ color: rgb(156, 138, 54);
/* oklch */ color: oklch(63.3% 0.106 97.1);
Tailwind
colors: {
  custom: {
    50: '#bcab71',
    500: '#9c8a36',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a36;
$custom-light: #bcab71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a36",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 49.412,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.10561,
    "h": 97.1
  },
  "luminance": 0.25511
}

Semantic roles & 50–950 ramp

primary
#9C8A36
secondary
#7480BA
accent
#68D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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