#9C8C58#9C8C58

#9C8C58 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.073 H 92.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8C58
RGBrgb(156, 140, 88)
HSLhsl(46, 28%, 48%)
HSVhsv(46, 44%, 61%)
CMYKcmyk(0%, 10.3%, 43.6%, 38.8%)
CIE-LABlab(58.54, -1.56, 29.92)
CIE-LCHlch(58.54, 29.96, 92.98°)
OKLaboklab(64.21% -0.0037 0.073)
OKLCHoklch(64.21% 0.073 92.9)
XYZxyz(24.8505, 26.5296, 13.0423)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C58 #58689C
analogous
#9C6A58 #9C8C58 #8A9C58
triadic
#9C8C58 #589C8C #8C589C
tetradic
#9C8C58 #589C6A #58689C #9C588A
square
#9C8C58 #589C6A #58689C #9C588A
split-complementary
#9C8C58 #588A9C #6A589C
monochromatic
#4E462C #756942 #9C8C58 #B5A87C #CBC2A3

Accessibility & contrast

On white

3.33
#9C8C58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C8C58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8C58
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8C58#FFFFFF#000000##000000
##9C8C581.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968A54
Deuteranopia (green-blind)
#9B8F5A
Tritanopia (blue-blind)
#A6847F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8c58;
/* rgb */ color: rgb(156, 140, 88);
/* oklch */ color: oklch(64.2% 0.073 92.9);
Tailwind
colors: {
  custom: {
    50: '#baad88',
    500: '#9c8c58',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c58;
$custom-light: #baad88;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c58",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 88
  },
  "hsl": {
    "h": 45.882,
    "s": 27.869,
    "l": 47.843
  },
  "oklch": {
    "l": 0.64206,
    "c": 0.07306,
    "h": 92.9
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8C58

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

Preview Lab → · Contrast checker → · Palette generator →

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