#9CB121#9CB121

#9CB121 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.0% C 0.159 H 118.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9CB121
RGBrgb(156, 177, 33)
HSLhsl(69, 69%, 41%)
HSVhsv(69, 81%, 69%)
CMYKcmyk(11.9%, 0%, 81.4%, 30.6%)
CIE-LABlab(68.48, -24.80, 64.30)
CIE-LCHlch(68.48, 68.91, 111.09°)
OKLaboklab(71.98% -0.0749 0.1397)
OKLCHoklch(71.98% 0.159 118.2)
XYZxyz(29.7077, 38.6223, 7.3284)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB121 #3621B1
analogous
#B17E21 #9CB121 #54B121
triadic
#9CB121 #219CB1 #B1219C
tetradic
#9CB121 #21B17E #3621B1 #B12154
square
#9CB121 #21B17E #3621B1 #B12154
split-complementary
#9CB121 #2154B1 #7E21B1
monochromatic
#414A0E #6F7D17 #9CB121 #C2D936 #D1E369

Accessibility & contrast

On white

2.41
#9CB121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9CB121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB121
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB121#FFFFFF#000000##000000
##9CB1211.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#A6A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb121;
/* rgb */ color: rgb(156, 177, 33);
/* oklch */ color: oklch(72.0% 0.159 118.2);
Tailwind
colors: {
  custom: {
    50: '#bdc86b',
    500: '#9cb121',
    950: '#000000',
  },
}
SCSS
$custom: #9cb121;
$custom-light: #bdc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb121",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 33
  },
  "hsl": {
    "h": 68.75,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71979,
    "c": 0.15857,
    "h": 118.2
  },
  "luminance": 0.38622
}

Semantic roles & 50–950 ramp

primary
#9CB121
secondary
#7465C9
accent
#3CEB56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB121

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

Preview Lab → · Contrast checker → · Palette generator →

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