#9C9520#9C9520

#9C9520 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.130 H 105.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C9520
RGBrgb(156, 149, 32)
HSLhsl(57, 66%, 37%)
HSVhsv(57, 79%, 61%)
CMYKcmyk(0%, 4.5%, 79.5%, 38.8%)
CIE-LABlab(60.49, -10.53, 57.51)
CIE-LCHlch(60.49, 58.46, 100.38°)
OKLaboklab(65.58% -0.0355 0.125)
OKLCHoklch(65.58% 0.13 105.9)
XYZxyz(24.7195, 28.6680, 5.5976)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9520 #20279C
analogous
#9C5720 #9C9520 #659C20
triadic
#9C9520 #209C95 #95209C
tetradic
#9C9520 #209C57 #20279C #9C2065
square
#9C9520 #209C57 #20279C #9C2065
split-complementary
#9C9520 #20659C #57209C
monochromatic
#36340B #696416 #9C9520 #CFC62A #DDD659

Accessibility & contrast

On white

3.12
#9C9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9C9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9520
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9520#FFFFFF#000000##000000
##9C95201.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A88A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9520;
/* rgb */ color: rgb(156, 149, 32);
/* oklch */ color: oklch(65.6% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#bdb367',
    500: '#9c9520',
    950: '#000000',
  },
}
SCSS
$custom: #9c9520;
$custom-light: #bdb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9520",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 56.613,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65577,
    "c": 0.12997,
    "h": 105.9
  },
  "luminance": 0.28667
}

Semantic roles & 50–950 ramp

primary
#9C9520
secondary
#575DC1
accent
#49E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C9520

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

Preview Lab → · Contrast checker → · Palette generator →

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