#9BC21D#9BC21D

#9BC21D is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.9% C 0.180 H 123.3°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#9BC21D
RGBrgb(155, 194, 29)
HSLhsl(74, 74%, 44%)
HSVhsv(74, 85%, 76%)
CMYKcmyk(20.1%, 0%, 85.1%, 23.9%)
CIE-LABlab(73.31, -33.43, 69.42)
CIE-LCHlch(73.31, 77.05, 115.71°)
OKLaboklab(75.86% -0.0987 0.1501)
OKLCHoklch(75.86% 0.18 123.3)
XYZxyz(33.0316, 45.6406, 8.2315)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC21D #441DC2
analogous
#C2961D #9BC21D #48C21D
triadic
#9BC21D #1D9BC2 #C21D9B
tetradic
#9BC21D #1DC296 #441DC2 #C21D48
square
#9BC21D #1DC296 #441DC2 #C21D48
split-complementary
#9BC21D #1D48C2 #961DC2
monochromatic
#46580D #708D15 #9BC21D #BAE23B #CDEA70

Accessibility & contrast

On white

2.07
#9BC21D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#9BC21D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC21D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC21D#FFFFFF#000000##000000
##9BC21D1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#C9B431
Tritanopia (blue-blind)
#A3B8A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9bc21d;
/* rgb */ color: rgb(155, 194, 29);
/* oklch */ color: oklch(75.9% 0.180 123.3);
Tailwind
colors: {
  custom: {
    50: '#bdd46c',
    500: '#9bc21d',
    950: '#000000',
  },
}
SCSS
$custom: #9bc21d;
$custom-light: #bdd46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc21d",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 29
  },
  "hsl": {
    "h": 74.182,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75861,
    "c": 0.17965,
    "h": 123.3
  },
  "luminance": 0.45641
}

Semantic roles & 50–950 ramp

primary
#9BC21D
secondary
#836BD0
accent
#37F163
background
#FCFDF6
surface
#F8FAEC
border
#D1D3C7
text
#131408
muted
#82837A

Preview Lab

Preview with #9BC21D

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

Preview Lab → · Contrast checker → · Palette generator →

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