#9CB420#9CB420

#9CB420 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.162 H 119.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9CB420
RGBrgb(156, 180, 32)
HSLhsl(70, 70%, 42%)
HSVhsv(70, 82%, 71%)
CMYKcmyk(13.3%, 0%, 82.2%, 29.4%)
CIE-LABlab(69.34, -26.30, 65.31)
CIE-LCHlch(69.34, 70.41, 111.93°)
OKLaboklab(72.67% -0.0791 0.1417)
OKLCHoklch(72.67% 0.162 119.2)
XYZxyz(30.2930, 39.8149, 7.4554)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB420 #3820B4
analogous
#B48220 #9CB420 #52B420
triadic
#9CB420 #209CB4 #B4209C
tetradic
#9CB420 #20B482 #3820B4 #B42052
square
#9CB420 #20B482 #3820B4 #B42052
split-complementary
#9CB420 #2052B4 #8220B4
monochromatic
#424C0E #6F8017 #9CB420 #C0DB36 #D1E46A

Accessibility & contrast

On white

2.34
#9CB420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9CB420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB420
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB420#FFFFFF#000000##000000
##9CB4201.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDAA30
Tritanopia (blue-blind)
#A6AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb420;
/* rgb */ color: rgb(156, 180, 32);
/* oklch */ color: oklch(72.7% 0.162 119.2);
Tailwind
colors: {
  custom: {
    50: '#bdca6b',
    500: '#9cb420',
    950: '#000000',
  },
}
SCSS
$custom: #9cb420;
$custom-light: #bdca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb420",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 69.73,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.16233,
    "h": 119.2
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#9CB420
secondary
#7666CA
accent
#3BED58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB420

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

Preview Lab → · Contrast checker → · Palette generator →

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