#9C8E5F#9C8E5F

#9C8E5F is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.8% C 0.067 H 93.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9C8E5F
RGBrgb(156, 142, 95)
HSLhsl(46, 24%, 49%)
HSVhsv(46, 39%, 61%)
CMYKcmyk(0%, 9%, 39.1%, 38.8%)
CIE-LABlab(59.20, -1.86, 26.95)
CIE-LCHlch(59.20, 27.02, 93.94°)
OKLaboklab(64.76% -0.004 0.0665)
OKLCHoklch(64.76% 0.067 93.5)
XYZxyz(25.4494, 27.2410, 14.7417)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E5F #5F6D9C
analogous
#9C705F #9C8E5F #8C9C5F
triadic
#9C8E5F #5F9C8E #8E5F9C
tetradic
#9C8E5F #5F9C70 #5F6D9C #9C5F8C
square
#9C8E5F #5F9C70 #5F6D9C #9C5F8C
split-complementary
#9C8E5F #5F8C9C #705F9C
monochromatic
#504931 #766B48 #9C8E5F #B4A984 #CBC4AA

Accessibility & contrast

On white

3.26
#9C8E5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9C8E5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E5F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E5F#FFFFFF#000000##000000
##9C8E5F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C5C
Deuteranopia (green-blind)
#9B9061
Tritanopia (blue-blind)
#A58782
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e5f;
/* rgb */ color: rgb(156, 142, 95);
/* oklch */ color: oklch(64.8% 0.067 93.5);
Tailwind
colors: {
  custom: {
    50: '#baae8d',
    500: '#9c8e5f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e5f;
$custom-light: #baae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e5f",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 95
  },
  "hsl": {
    "h": 46.23,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.06659,
    "h": 93.5
  },
  "luminance": 0.2724
}

Semantic roles & 50–950 ramp

primary
#9C8E5F
secondary
#9DA4BA
accent
#7CC167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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