#21B230#21B230

#21B230 is a light, highly saturated green. Relative luminance 0.324; OKLCH L 66.7% C 0.205 H 143.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#21B230
RGBrgb(33, 178, 48)
HSLhsl(126, 69%, 41%)
HSVhsv(126, 81%, 70%)
CMYKcmyk(81.5%, 0%, 73%, 30.2%)
CIE-LABlab(63.65, -61.17, 53.06)
CIE-LCHlch(63.65, 80.98, 139.06°)
OKLaboklab(66.66% -0.1654 0.1205)
OKLCHoklch(66.66% 0.205 143.9)
XYZxyz(17.0799, 32.3754, 8.1446)
Luminance0.3238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B230 #B221A3
analogous
#5BB221 #21B230 #21B279
triadic
#21B230 #3021B2 #B23021
tetradic
#21B230 #215BB2 #B221A3 #B27921
square
#21B230 #215BB2 #B221A3 #B27921
split-complementary
#21B230 #7921B2 #B2215B
monochromatic
#0E4B14 #177E22 #21B230 #36DA47 #6AE377

Accessibility & contrast

On white

2.81
#21B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#21B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B230
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B230#FFFFFF#000000##000000
##21B2301.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A119
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b230;
/* rgb */ color: rgb(33, 178, 48);
/* oklch */ color: oklch(66.7% 0.205 143.9);
Tailwind
colors: {
  custom: {
    50: '#78ca70',
    500: '#21b230',
    950: '#000000',
  },
}
SCSS
$custom: #21b230;
$custom-light: #78ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#21b230",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 126.207,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.20463,
    "h": 143.9
  },
  "luminance": 0.32378
}

Semantic roles & 50–950 ramp

primary
#21B230
secondary
#C966BF
accent
#3CD9EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21B230

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

Preview Lab → · Contrast checker → · Palette generator →

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