#9C8E36#9C8E36

#9C8E36 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.109 H 100.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C8E36
RGBrgb(156, 142, 54)
HSLhsl(52, 49%, 41%)
HSVhsv(52, 65%, 61%)
CMYKcmyk(0%, 9%, 65.4%, 38.8%)
CIE-LABlab(58.68, -5.64, 47.24)
CIE-LCHlch(58.68, 47.57, 96.81°)
OKLaboklab(64.19% -0.0194 0.1073)
OKLCHoklch(64.19% 0.109 100.2)
XYZxyz(24.0502, 26.6813, 7.3725)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E36 #36449C
analogous
#9C5B36 #9C8E36 #779C36
triadic
#9C8E36 #369C8E #8E369C
tetradic
#9C8E36 #369C5B #36449C #9C3677
square
#9C8E36 #369C5B #36449C #9C3677
split-complementary
#9C8E36 #36779C #5B369C
monochromatic
#413B17 #6F6526 #9C8E36 #C2B24E #D1C57B

Accessibility & contrast

On white

3.31
#9C8E36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9C8E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E36
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E36#FFFFFF#000000##000000
##9C8E361.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2B
Deuteranopia (green-blind)
#9F8F3B
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e36;
/* rgb */ color: rgb(156, 142, 54);
/* oklch */ color: oklch(64.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#bcae71',
    500: '#9c8e36',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e36;
$custom-light: #bcae71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e36",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 51.765,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.10904,
    "h": 100.2
  },
  "luminance": 0.2668
}

Semantic roles & 50–950 ramp

primary
#9C8E36
secondary
#747DBA
accent
#62D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8E36

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

Preview Lab → · Contrast checker → · Palette generator →

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