#21B240#21B240

#21B240 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.8% C 0.194 H 145.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#21B240
RGBrgb(33, 178, 64)
HSLhsl(133, 69%, 41%)
HSVhsv(133, 81%, 70%)
CMYKcmyk(81.5%, 0%, 64%, 30.2%)
CIE-LABlab(63.78, -59.59, 46.70)
CIE-LCHlch(63.78, 75.70, 141.92°)
OKLaboklab(66.81% -0.1604 0.1089)
OKLCHoklch(66.81% 0.194 145.8)
XYZxyz(17.4717, 32.5321, 10.2080)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B240 #B22193
analogous
#4AB221 #21B240 #21B289
triadic
#21B240 #4021B2 #B24021
tetradic
#21B240 #214AB2 #B22193 #B28921
square
#21B240 #214AB2 #B22193 #B28921
split-complementary
#21B240 #8921B2 #B2214A
monochromatic
#0E4B1B #177E2D #21B240 #36DA59 #6AE384

Accessibility & contrast

On white

2.80
#21B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#21B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B240
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B240#FFFFFF#000000##000000
##21B2401.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b240;
/* rgb */ color: rgb(33, 178, 64);
/* oklch */ color: oklch(66.8% 0.194 145.8);
Tailwind
colors: {
  custom: {
    50: '#77ca79',
    500: '#21b240',
    950: '#000000',
  },
}
SCSS
$custom: #21b240;
$custom-light: #77ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#21b240",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 132.828,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.1939,
    "h": 145.8
  },
  "luminance": 0.32534
}

Semantic roles & 50–950 ramp

primary
#21B240
secondary
#C966B4
accent
#3CC6EC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21B240

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

Preview Lab → · Contrast checker → · Palette generator →

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