#9C8D58#9C8D58

#9C8D58 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.074 H 94.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C8D58
RGBrgb(156, 141, 88)
HSLhsl(47, 28%, 48%)
HSVhsv(47, 44%, 61%)
CMYKcmyk(0%, 9.6%, 43.6%, 38.8%)
CIE-LABlab(58.81, -2.11, 30.27)
CIE-LCHlch(58.81, 30.34, 93.99°)
OKLaboklab(64.42% -0.0053 0.0738)
OKLCHoklch(64.42% 0.074 94.1)
XYZxyz(24.9973, 26.8232, 13.0913)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D58 #58679C
analogous
#9C6B58 #9C8D58 #899C58
triadic
#9C8D58 #589C8D #8D589C
tetradic
#9C8D58 #589C6B #58679C #9C5889
square
#9C8D58 #589C6B #58679C #9C5889
split-complementary
#9C8D58 #58899C #6B589C
monochromatic
#4E462C #756A42 #9C8D58 #B5A97C #CBC2A3

Accessibility & contrast

On white

3.30
#9C8D58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9C8D58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D58
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D58#FFFFFF#000000##000000
##9C8D581.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B54
Deuteranopia (green-blind)
#9B905A
Tritanopia (blue-blind)
#A68580
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d58;
/* rgb */ color: rgb(156, 141, 88);
/* oklch */ color: oklch(64.4% 0.074 94.1);
Tailwind
colors: {
  custom: {
    50: '#baae88',
    500: '#9c8d58',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d58;
$custom-light: #baae88;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d58",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 88
  },
  "hsl": {
    "h": 46.765,
    "s": 27.869,
    "l": 47.843
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.07395,
    "h": 94.1
  },
  "luminance": 0.26822
}

Semantic roles & 50–950 ramp

primary
#9C8D58
secondary
#979EB9
accent
#79C464
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8D58

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

Preview Lab → · Contrast checker → · Palette generator →

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