#9C9820#9C9820

#9C9820 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.133 H 107.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9C9820
RGBrgb(156, 152, 32)
HSLhsl(58, 66%, 37%)
HSVhsv(58, 79%, 61%)
CMYKcmyk(0%, 2.6%, 79.5%, 38.8%)
CIE-LABlab(61.33, -12.12, 58.26)
CIE-LCHlch(61.33, 59.51, 101.75°)
OKLaboklab(66.25% -0.04 0.1266)
OKLCHoklch(66.25% 0.133 107.5)
XYZxyz(25.2003, 29.6296, 5.7579)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9820 #20249C
analogous
#9C5A20 #9C9820 #629C20
triadic
#9C9820 #209C98 #98209C
tetradic
#9C9820 #209C5A #20249C #9C2062
square
#9C9820 #209C5A #20249C #9C2062
split-complementary
#9C9820 #20629C #5A209C
monochromatic
#36350B #696716 #9C9820 #CFC92A #DDD959

Accessibility & contrast

On white

3.03
#9C9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9C9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9820
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9820#FFFFFF#000000##000000
##9C98201.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c9820;
/* rgb */ color: rgb(156, 152, 32);
/* oklch */ color: oklch(66.3% 0.133 107.5);
Tailwind
colors: {
  custom: {
    50: '#bdb667',
    500: '#9c9820',
    950: '#000000',
  },
}
SCSS
$custom: #9c9820;
$custom-light: #bdb667;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9820",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 58.065,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.13279,
    "h": 107.5
  },
  "luminance": 0.29629
}

Semantic roles & 50–950 ramp

primary
#9C9820
secondary
#575AC1
accent
#44E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9820

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

Preview Lab → · Contrast checker → · Palette generator →

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