#9C8D52#9C8D52

#9C8D52 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.081 H 95.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9C8D52
RGBrgb(156, 141, 82)
HSLhsl(48, 31%, 47%)
HSVhsv(48, 47%, 61%)
CMYKcmyk(0%, 9.6%, 47.4%, 38.8%)
CIE-LABlab(58.72, -2.75, 33.38)
CIE-LCHlch(58.72, 33.49, 94.71°)
OKLaboklab(64.32% -0.0078 0.0804)
OKLCHoklch(64.32% 0.081 95.5)
XYZxyz(24.7589, 26.7278, 11.8358)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D52 #52619C
analogous
#9C6852 #9C8D52 #869C52
triadic
#9C8D52 #529C8D #8D529C
tetradic
#9C8D52 #529C68 #52619C #9C5286
square
#9C8D52 #529C68 #52619C #9C5286
split-complementary
#9C8D52 #52869C #68529C
monochromatic
#4C4428 #74693D #9C8D52 #B6A975 #CBC29D

Accessibility & contrast

On white

3.31
#9C8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9C8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D52
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D52#FFFFFF#000000##000000
##9C8D521.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A4D
Deuteranopia (green-blind)
#9C8F54
Tritanopia (blue-blind)
#A6857F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d52;
/* rgb */ color: rgb(156, 141, 82);
/* oklch */ color: oklch(64.3% 0.081 95.5);
Tailwind
colors: {
  custom: {
    50: '#bbae84',
    500: '#9c8d52',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d52;
$custom-light: #bbae84;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d52",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 47.838,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.08078,
    "h": 95.5
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#9C8D52
secondary
#9199B9
accent
#75C761
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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