#9C8E57#9C8E57

#9C8E57 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.076 H 95.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C8E57
RGBrgb(156, 142, 87)
HSLhsl(48, 28%, 48%)
HSVhsv(48, 44%, 61%)
CMYKcmyk(0%, 9%, 44.2%, 38.8%)
CIE-LABlab(59.07, -2.77, 31.14)
CIE-LCHlch(59.07, 31.26, 95.09°)
OKLaboklab(64.62% -0.0073 0.0757)
OKLCHoklch(64.62% 0.076 95.5)
XYZxyz(25.1042, 27.1029, 12.9240)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E57 #57659C
analogous
#9C6B57 #9C8E57 #879C57
triadic
#9C8E57 #579C8E #8E579C
tetradic
#9C8E57 #579C6B #57659C #9C5787
square
#9C8E57 #579C6B #57659C #9C5787
split-complementary
#9C8E57 #57879C #6B579C
monochromatic
#4D462B #756A41 #9C8E57 #B5A97B #CBC3A2

Accessibility & contrast

On white

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

On black

6.42
#9C8E57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E57
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E57#FFFFFF#000000##000000
##9C8E571.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B53
Deuteranopia (green-blind)
#9C9059
Tritanopia (blue-blind)
#A68680
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e57;
/* rgb */ color: rgb(156, 142, 87);
/* oklch */ color: oklch(64.6% 0.076 95.5);
Tailwind
colors: {
  custom: {
    50: '#baae87',
    500: '#9c8e57',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e57;
$custom-light: #baae87;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e57",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 87
  },
  "hsl": {
    "h": 47.826,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64622,
    "c": 0.07603,
    "h": 95.5
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

primary
#9C8E57
secondary
#969DB9
accent
#77C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8E57

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

Preview Lab → · Contrast checker → · Palette generator →

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