#9C8D20#9C8D20

#9C8D20 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.123 H 101.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9C8D20
RGBrgb(156, 141, 32)
HSLhsl(53, 66%, 37%)
HSVhsv(53, 79%, 61%)
CMYKcmyk(0%, 9.6%, 79.5%, 38.8%)
CIE-LABlab(58.25, -6.23, 55.50)
CIE-LCHlch(58.25, 55.85, 96.40°)
OKLaboklab(63.8% -0.0234 0.1207)
OKLCHoklch(63.8% 0.123 101)
XYZxyz(23.4970, 26.2231, 5.1901)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D20 #202F9C
analogous
#9C4F20 #9C8D20 #6D9C20
triadic
#9C8D20 #209C8D #8D209C
tetradic
#9C8D20 #209C4F #202F9C #9C206D
square
#9C8D20 #209C4F #202F9C #9C206D
split-complementary
#9C8D20 #206D9C #4F209C
monochromatic
#36310B #695F16 #9C8D20 #CFBB2A #DDCD59

Accessibility & contrast

On white

3.36
#9C8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9C8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D20
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D20#FFFFFF#000000##000000
##9C8D201.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8904
Deuteranopia (green-blind)
#9F8F28
Tritanopia (blue-blind)
#A98279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d20;
/* rgb */ color: rgb(156, 141, 32);
/* oklch */ color: oklch(63.8% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#bdae65',
    500: '#9c8d20',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d20;
$custom-light: #bdae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d20",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 52.742,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.12297,
    "h": 101
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#9C8D20
secondary
#5764C1
accent
#53E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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