#21B145#21B145

#21B145 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.6% C 0.189 H 146.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#21B145
RGBrgb(33, 177, 69)
HSLhsl(135, 69%, 41%)
HSVhsv(135, 81%, 69%)
CMYKcmyk(81.4%, 0%, 61%, 30.6%)
CIE-LABlab(63.50, -58.66, 44.14)
CIE-LCHlch(63.50, 73.41, 143.04°)
OKLaboklab(66.6% -0.1578 0.1039)
OKLCHoklch(66.6% 0.189 146.6)
XYZxyz(17.4222, 32.1951, 10.9251)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B145 #B1218D
analogous
#45B121 #21B145 #21B18D
triadic
#21B145 #4521B1 #B14521
tetradic
#21B145 #2145B1 #B1218D #B18D21
square
#21B145 #2145B1 #B1218D #B18D21
split-complementary
#21B145 #8D21B1 #B12145
monochromatic
#0E4A1D #177D31 #21B145 #36D95F #69E388

Accessibility & contrast

On white

2.82
#21B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#21B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B145
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B145#FFFFFF#000000##000000
##21B1451.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A039
Deuteranopia (green-blind)
#A4954E
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b145;
/* rgb */ color: rgb(33, 177, 69);
/* oklch */ color: oklch(66.6% 0.189 146.6);
Tailwind
colors: {
  custom: {
    50: '#77ca7c',
    500: '#21b145',
    950: '#000000',
  },
}
SCSS
$custom: #21b145;
$custom-light: #77ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21b145",
  "rgb": {
    "r": 33,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66596,
    "c": 0.1889,
    "h": 146.6
  },
  "luminance": 0.32197
}

Semantic roles & 50–950 ramp

primary
#21B145
secondary
#C965B0
accent
#3CC0EB
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21B145

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

Preview Lab → · Contrast checker → · Palette generator →

#21B145 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva