#21B245#21B245

#21B245 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.190 H 146.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#21B245
RGBrgb(33, 178, 69)
HSLhsl(135, 69%, 41%)
HSVhsv(135, 81%, 70%)
CMYKcmyk(81.5%, 0%, 61.2%, 30.2%)
CIE-LABlab(63.83, -58.99, 44.51)
CIE-LCHlch(63.83, 73.90, 142.96°)
OKLaboklab(66.87% -0.1587 0.1047)
OKLCHoklch(66.87% 0.19 146.6)
XYZxyz(17.6204, 32.5916, 10.9912)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B245 #B2218E
analogous
#45B221 #21B245 #21B28E
triadic
#21B245 #4521B2 #B24521
tetradic
#21B245 #2145B2 #B2218E #B28E21
square
#21B245 #2145B2 #B2218E #B28E21
split-complementary
#21B245 #8E21B2 #B22145
monochromatic
#0E4B1D #177E31 #21B245 #36DA5F #6AE388

Accessibility & contrast

On white

2.79
#21B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#21B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B245
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B245#FFFFFF#000000##000000
##21B2451.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A139
Deuteranopia (green-blind)
#A5964E
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b245;
/* rgb */ color: rgb(33, 178, 69);
/* oklch */ color: oklch(66.9% 0.190 146.6);
Tailwind
colors: {
  custom: {
    50: '#77ca7c',
    500: '#21b245',
    950: '#000000',
  },
}
SCSS
$custom: #21b245;
$custom-light: #77ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21b245",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 134.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.19009,
    "h": 146.6
  },
  "luminance": 0.32594
}

Semantic roles & 50–950 ramp

primary
#21B245
secondary
#C966B0
accent
#3CC0EC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21B245

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

Preview Lab → · Contrast checker → · Palette generator →

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