#9C9720#9C9720

#9C9720 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.132 H 107.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C9720
RGBrgb(156, 151, 32)
HSLhsl(58, 66%, 37%)
HSVhsv(58, 79%, 61%)
CMYKcmyk(0%, 3.2%, 79.5%, 38.8%)
CIE-LABlab(61.05, -11.59, 58.01)
CIE-LCHlch(61.05, 59.16, 101.30°)
OKLaboklab(66.03% -0.0385 0.1261)
OKLCHoklch(66.03% 0.132 107)
XYZxyz(25.0387, 29.3063, 5.7040)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9720 #20259C
analogous
#9C5920 #9C9720 #639C20
triadic
#9C9720 #209C97 #97209C
tetradic
#9C9720 #209C59 #20259C #9C2063
square
#9C9720 #209C59 #20259C #9C2063
split-complementary
#9C9720 #20639C #59209C
monochromatic
#36350B #696616 #9C9720 #CFC82A #DDD859

Accessibility & contrast

On white

3.06
#9C9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9C9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9720
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9720#FFFFFF#000000##000000
##9C97201.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A7952A
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9720;
/* rgb */ color: rgb(156, 151, 32);
/* oklch */ color: oklch(66.0% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#bdb567',
    500: '#9c9720',
    950: '#000000',
  },
}
SCSS
$custom: #9c9720;
$custom-light: #bdb567;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9720",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 57.581,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.13184,
    "h": 107
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

primary
#9C9720
secondary
#575BC1
accent
#46E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C9720

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

Preview Lab → · Contrast checker → · Palette generator →

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