#9C9958#9C9958

#9C9958 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.087 H 106.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9C9958
RGBrgb(156, 153, 88)
HSLhsl(57, 28%, 48%)
HSVhsv(57, 44%, 61%)
CMYKcmyk(0%, 1.9%, 43.6%, 38.8%)
CIE-LABlab(62.13, -8.64, 34.46)
CIE-LCHlch(62.13, 35.52, 104.08°)
OKLaboklab(67.05% -0.0242 0.0832)
OKLCHoklch(67.05% 0.087 106.2)
XYZxyz(26.8635, 30.5556, 13.7133)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9958 #585B9C
analogous
#9C7758 #9C9958 #7D9C58
triadic
#9C9958 #589C99 #99589C
tetradic
#9C9958 #589C77 #585B9C #9C587D
square
#9C9958 #589C77 #585B9C #9C587D
split-complementary
#9C9958 #587D9C #77589C
monochromatic
#4E4C2C #757342 #9C9958 #B5B37C #CBC9A3

Accessibility & contrast

On white

2.95
#9C9958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9C9958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9958
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9958#FFFFFF#000000##000000
##9C99581.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39453
Deuteranopia (green-blind)
#A5985B
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c9958;
/* rgb */ color: rgb(156, 153, 88);
/* oklch */ color: oklch(67.1% 0.087 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab688',
    500: '#9c9958',
    950: '#000000',
  },
}
SCSS
$custom: #9c9958;
$custom-light: #bab688;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9958",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 88
  },
  "hsl": {
    "h": 57.353,
    "s": 27.869,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.08665,
    "h": 106.2
  },
  "luminance": 0.30555
}

Semantic roles & 50–950 ramp

primary
#9C9958
secondary
#9798B9
accent
#68C464
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110B
muted
#81807C

Preview Lab

Preview with #9C9958

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

Preview Lab → · Contrast checker → · Palette generator →

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