#9C8E59#9C8E59

#9C8E59 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.074 H 95.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C8E59
RGBrgb(156, 142, 89)
HSLhsl(47, 27%, 48%)
HSVhsv(47, 43%, 61%)
CMYKcmyk(0%, 9%, 42.9%, 38.8%)
CIE-LABlab(59.10, -2.55, 30.10)
CIE-LCHlch(59.10, 30.21, 94.84°)
OKLaboklab(64.66% -0.0065 0.0734)
OKLCHoklch(64.66% 0.074 95.1)
XYZxyz(25.1871, 27.1361, 13.3603)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E59 #59679C
analogous
#9C6C59 #9C8E59 #889C59
triadic
#9C8E59 #599C8E #8E599C
tetradic
#9C8E59 #599C6C #59679C #9C5988
square
#9C8E59 #599C6C #59679C #9C5988
split-complementary
#9C8E59 #59889C #6C599C
monochromatic
#4E472D #756B43 #9C8E59 #B5A97D #CBC3A4

Accessibility & contrast

On white

3.27
#9C8E59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#9C8E59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E59
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E59#FFFFFF#000000##000000
##9C8E591.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C55
Deuteranopia (green-blind)
#9C905B
Tritanopia (blue-blind)
#A58781
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e59;
/* rgb */ color: rgb(156, 142, 89);
/* oklch */ color: oklch(64.7% 0.074 95.1);
Tailwind
colors: {
  custom: {
    50: '#baae88',
    500: '#9c8e59',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e59;
$custom-light: #baae88;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e59",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 89
  },
  "hsl": {
    "h": 47.463,
    "s": 27.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.07371,
    "h": 95.1
  },
  "luminance": 0.27135
}

Semantic roles & 50–950 ramp

primary
#9C8E59
secondary
#989FB9
accent
#78C464
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8E59

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

Preview Lab → · Contrast checker → · Palette generator →

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