#21B248#21B248

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

Color values

HEX#21B248
RGBrgb(33, 178, 72)
HSLhsl(136, 69%, 41%)
HSVhsv(136, 81%, 70%)
CMYKcmyk(81.5%, 0%, 59.6%, 30.2%)
CIE-LABlab(63.86, -58.61, 43.17)
CIE-LCHlch(63.86, 72.79, 143.63°)
OKLaboklab(66.9% -0.1575 0.102)
OKLCHoklch(66.9% 0.188 147.1)
XYZxyz(17.7159, 32.6298, 11.4941)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B248 #B2218B
analogous
#43B221 #21B248 #21B291
triadic
#21B248 #4821B2 #B24821
tetradic
#21B248 #2143B2 #B2218B #B29121
square
#21B248 #2143B2 #B2218B #B29121
split-complementary
#21B248 #9121B2 #B22143
monochromatic
#0E4B1E #177E33 #21B248 #36DA62 #6AE38B

Accessibility & contrast

On white

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

On black

7.53
#21B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B248
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B248#FFFFFF#000000##000000
##21B2481.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21b248;
/* rgb */ color: rgb(33, 178, 72);
/* oklch */ color: oklch(66.9% 0.188 147.1);
Tailwind
colors: {
  custom: {
    50: '#77ca7e',
    500: '#21b248',
    950: '#000000',
  },
}
SCSS
$custom: #21b248;
$custom-light: #77ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21b248",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 136.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66902,
    "c": 0.18771,
    "h": 147.1
  },
  "luminance": 0.32632
}

Semantic roles & 50–950 ramp

primary
#21B248
secondary
#C966AE
accent
#3CBCEC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21B248

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

Preview Lab → · Contrast checker → · Palette generator →

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