#9C8520#9C8520

#9C8520 is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.117 H 95.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9C8520
RGBrgb(156, 133, 32)
HSLhsl(49, 66%, 37%)
HSVhsv(49, 79%, 61%)
CMYKcmyk(0%, 14.7%, 79.5%, 38.8%)
CIE-LABlab(56.04, -1.84, 53.49)
CIE-LCHlch(56.04, 53.53, 91.97°)
OKLaboklab(62.04% -0.0111 0.1164)
OKLCHoklch(62.04% 0.117 95.4)
XYZxyz(22.3598, 23.9485, 4.8110)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8520 #20379C
analogous
#9C4720 #9C8520 #759C20
triadic
#9C8520 #209C85 #85209C
tetradic
#9C8520 #209C47 #20379C #9C2075
square
#9C8520 #209C47 #20379C #9C2075
split-complementary
#9C8520 #20759C #47209C
monochromatic
#362E0B #695A16 #9C8520 #CFB02A #DDC559

Accessibility & contrast

On white

3.63
#9C8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9C8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8520
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8520#FFFFFF#000000##000000
##9C85201.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8520;
/* rgb */ color: rgb(156, 133, 32);
/* oklch */ color: oklch(62.0% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#bda864',
    500: '#9c8520',
    950: '#000000',
  },
}
SCSS
$custom: #9c8520;
$custom-light: #bda864;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8520",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 48.871,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.11693,
    "h": 95.4
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#9C8520
secondary
#576AC1
accent
#5EE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8520

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

Preview Lab → · Contrast checker → · Palette generator →

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