#21B242#21B242

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

Color values

HEX#21B242
RGBrgb(33, 178, 66)
HSLhsl(134, 69%, 41%)
HSVhsv(134, 81%, 70%)
CMYKcmyk(81.5%, 0%, 62.9%, 30.2%)
CIE-LABlab(63.80, -59.35, 45.83)
CIE-LCHlch(63.80, 74.99, 142.33°)
OKLaboklab(66.83% -0.1597 0.1072)
OKLCHoklch(66.83% 0.192 146.1)
XYZxyz(17.5296, 32.5553, 10.5131)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B242 #B22191
analogous
#49B221 #21B242 #21B28B
triadic
#21B242 #4221B2 #B24221
tetradic
#21B242 #2149B2 #B22191 #B28B21
square
#21B242 #2149B2 #B22191 #B28B21
split-complementary
#21B242 #8B21B2 #B22149
monochromatic
#0E4B1C #177E2F #21B242 #36DA5C #6AE386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21B242#FFFFFF#000000##000000
##21B2421.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)
#B5A135
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b242;
/* rgb */ color: rgb(33, 178, 66);
/* oklch */ color: oklch(66.8% 0.192 146.1);
Tailwind
colors: {
  custom: {
    50: '#77ca7b',
    500: '#21b242',
    950: '#000000',
  },
}
SCSS
$custom: #21b242;
$custom-light: #77ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#21b242",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 133.655,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66832,
    "c": 0.1924,
    "h": 146.1
  },
  "luminance": 0.32557
}

Semantic roles & 50–950 ramp

primary
#21B242
secondary
#C966B3
accent
#3CC4EC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21B242

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

Preview Lab → · Contrast checker → · Palette generator →

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