#9C8B58#9C8B58

#9C8B58 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 64.0% C 0.072 H 91.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8B58
RGBrgb(156, 139, 88)
HSLhsl(45, 28%, 48%)
HSVhsv(45, 44%, 61%)
CMYKcmyk(0%, 10.9%, 43.6%, 38.8%)
CIE-LABlab(58.26, -1.00, 29.57)
CIE-LCHlch(58.26, 29.59, 91.95°)
OKLaboklab(63.99% -0.0021 0.0722)
OKLCHoklch(63.99% 0.072 91.7)
XYZxyz(24.7050, 26.2387, 12.9939)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B58 #58699C
analogous
#9C6958 #9C8B58 #8B9C58
triadic
#9C8B58 #589C8B #8B589C
tetradic
#9C8B58 #589C69 #58699C #9C588B
square
#9C8B58 #589C69 #58699C #9C588B
split-complementary
#9C8B58 #588B9C #69589C
monochromatic
#4E452C #756842 #9C8B58 #B5A77C #CBC1A3

Accessibility & contrast

On white

3.36
#9C8B58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C8B58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B58
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B58#FFFFFF#000000##000000
##9C8B581.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958954
Deuteranopia (green-blind)
#9A8E5A
Tritanopia (blue-blind)
#A6837E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8b58;
/* rgb */ color: rgb(156, 139, 88);
/* oklch */ color: oklch(64.0% 0.072 91.7);
Tailwind
colors: {
  custom: {
    50: '#baac88',
    500: '#9c8b58',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b58;
$custom-light: #baac88;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b58",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 88
  },
  "hsl": {
    "h": 45,
    "s": 27.869,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.07219,
    "h": 91.7
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#9C8B58
secondary
#979FB9
accent
#7CC464
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8B58

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

Preview Lab → · Contrast checker → · Palette generator →

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