#9C9020#9C9020

#9C9020 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.126 H 102.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C9020
RGBrgb(156, 144, 32)
HSLhsl(54, 66%, 37%)
HSVhsv(54, 79%, 61%)
CMYKcmyk(0%, 7.7%, 79.5%, 38.8%)
CIE-LABlab(59.09, -7.85, 56.25)
CIE-LCHlch(59.09, 56.80, 97.95°)
OKLaboklab(64.46% -0.028 0.1223)
OKLCHoklch(64.46% 0.126 102.9)
XYZxyz(23.9454, 27.1198, 5.3396)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9020 #202C9C
analogous
#9C5220 #9C9020 #6A9C20
triadic
#9C9020 #209C90 #90209C
tetradic
#9C9020 #209C52 #202C9C #9C206A
square
#9C9020 #209C52 #202C9C #9C206A
split-complementary
#9C9020 #206A9C #52209C
monochromatic
#36320B #696116 #9C9020 #CFBF2A #DDD059

Accessibility & contrast

On white

3.27
#9C9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9C9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9020
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9020#FFFFFF#000000##000000
##9C90201.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c9020;
/* rgb */ color: rgb(156, 144, 32);
/* oklch */ color: oklch(64.5% 0.126 102.9);
Tailwind
colors: {
  custom: {
    50: '#bdb066',
    500: '#9c9020',
    950: '#000000',
  },
}
SCSS
$custom: #9c9020;
$custom-light: #bdb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9020",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 54.194,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64461,
    "c": 0.1255,
    "h": 102.9
  },
  "luminance": 0.27119
}

Semantic roles & 50–950 ramp

primary
#9C9020
secondary
#5761C1
accent
#4FE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9020

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

Preview Lab → · Contrast checker → · Palette generator →

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