#9CB020#9CB020

#9CB020 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.7% C 0.158 H 117.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#9CB020
RGBrgb(156, 176, 32)
HSLhsl(68, 69%, 41%)
HSVhsv(68, 82%, 69%)
CMYKcmyk(11.4%, 0%, 81.8%, 31%)
CIE-LABlab(68.18, -24.35, 64.31)
CIE-LCHlch(68.18, 68.76, 110.74°)
OKLaboklab(71.74% -0.0738 0.1396)
OKLCHoklch(71.74% 0.158 117.9)
XYZxyz(29.4971, 38.2232, 7.1901)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB020 #3420B0
analogous
#B07C20 #9CB020 #54B020
triadic
#9CB020 #209CB0 #B0209C
tetradic
#9CB020 #20B07C #3420B0 #B02054
square
#9CB020 #20B07C #3420B0 #B02054
split-complementary
#9CB020 #2054B0 #7C20B0
monochromatic
#40480D #6E7C17 #9CB020 #C3DA33 #D2E367

Accessibility & contrast

On white

2.43
#9CB020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#9CB020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB020
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB020#FFFFFF#000000##000000
##9CB0201.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BAA72F
Tritanopia (blue-blind)
#A6A696
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9cb020;
/* rgb */ color: rgb(156, 176, 32);
/* oklch */ color: oklch(71.7% 0.158 117.9);
Tailwind
colors: {
  custom: {
    50: '#bdc76a',
    500: '#9cb020',
    950: '#000000',
  },
}
SCSS
$custom: #9cb020;
$custom-light: #bdc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb020",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 32
  },
  "hsl": {
    "h": 68.333,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71743,
    "c": 0.15788,
    "h": 117.9
  },
  "luminance": 0.38223
}

Semantic roles & 50–950 ramp

primary
#9CB020
secondary
#7163C9
accent
#3CEC54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB020

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

Preview Lab → · Contrast checker → · Palette generator →

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