#9C8A52#9C8A52

#9C8A52 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.078 H 92.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9C8A52
RGBrgb(156, 138, 82)
HSLhsl(45, 31%, 47%)
HSVhsv(45, 47%, 61%)
CMYKcmyk(0%, 11.5%, 47.4%, 38.8%)
CIE-LABlab(57.90, -1.09, 32.35)
CIE-LCHlch(57.90, 32.37, 91.93°)
OKLaboklab(63.67% -0.003 0.0781)
OKLCHoklch(63.67% 0.078 92.2)
XYZxyz(24.3225, 25.8551, 11.6904)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A52 #52649C
analogous
#9C6552 #9C8A52 #899C52
triadic
#9C8A52 #529C8A #8A529C
tetradic
#9C8A52 #529C65 #52649C #9C5289
square
#9C8A52 #529C65 #52649C #9C5289
split-complementary
#9C8A52 #52899C #65529C
monochromatic
#4C4328 #74673D #9C8A52 #B6A675 #CBC09D

Accessibility & contrast

On white

3.40
#9C8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9C8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A52
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A52#FFFFFF#000000##000000
##9C8A521.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884E
Deuteranopia (green-blind)
#9A8D54
Tritanopia (blue-blind)
#A6827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a52;
/* rgb */ color: rgb(156, 138, 82);
/* oklch */ color: oklch(63.7% 0.078 92.2);
Tailwind
colors: {
  custom: {
    50: '#bbac83',
    500: '#9c8a52',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a52;
$custom-light: #bbac83;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a52",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 45.405,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.63674,
    "c": 0.07816,
    "h": 92.2
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#9C8A52
secondary
#919BB9
accent
#7AC761
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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