#9C8E64#9C8E64

#9C8E64 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.9% C 0.061 H 91.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9C8E64
RGBrgb(156, 142, 100)
HSLhsl(45, 22%, 50%)
HSVhsv(45, 36%, 61%)
CMYKcmyk(0%, 9%, 35.9%, 38.8%)
CIE-LABlab(59.28, -1.24, 24.31)
CIE-LCHlch(59.28, 24.34, 92.92°)
OKLaboklab(64.86% -0.0019 0.0605)
OKLCHoklch(64.86% 0.061 91.8)
XYZxyz(25.6840, 27.3348, 15.9773)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E64 #64729C
analogous
#9C7264 #9C8E64 #8E9C64
triadic
#9C8E64 #649C8E #8E649C
tetradic
#9C8E64 #649C72 #64729C #9C648E
square
#9C8E64 #649C72 #64729C #9C648E
split-complementary
#9C8E64 #648E9C #72649C
monochromatic
#524A34 #776C4C #9C8E64 #B4A989 #CCC4AF

Accessibility & contrast

On white

3.25
#9C8E64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9C8E64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E64
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E64#FFFFFF#000000##000000
##9C8E641.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978C61
Deuteranopia (green-blind)
#9B9165
Tritanopia (blue-blind)
#A58883
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c8e64;
/* rgb */ color: rgb(156, 142, 100);
/* oklch */ color: oklch(64.9% 0.061 91.8);
Tailwind
colors: {
  custom: {
    50: '#baaf90',
    500: '#9c8e64',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e64;
$custom-light: #baaf90;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e64",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 100
  },
  "hsl": {
    "h": 45,
    "s": 22.047,
    "l": 50.196
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.06051,
    "h": 91.8
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#9C8E64
secondary
#A1A8BA
accent
#7FBF69
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8E64

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

Preview Lab → · Contrast checker → · Palette generator →

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