#21B23A#21B23A

#21B23A is a light, vivid green. Relative luminance 0.325; OKLCH L 66.7% C 0.198 H 145.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#21B23A
RGBrgb(33, 178, 58)
HSLhsl(130, 69%, 41%)
HSVhsv(130, 81%, 70%)
CMYKcmyk(81.5%, 0%, 67.4%, 30.2%)
CIE-LABlab(63.73, -60.24, 49.20)
CIE-LCHlch(63.73, 77.78, 140.76°)
OKLaboklab(66.75% -0.1624 0.1136)
OKLCHoklch(66.75% 0.198 145)
XYZxyz(17.3101, 32.4675, 9.3567)
Luminance0.3247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B23A #B22199
analogous
#51B221 #21B23A #21B283
triadic
#21B23A #3A21B2 #B23A21
tetradic
#21B23A #2151B2 #B22199 #B28321
square
#21B23A #2151B2 #B22199 #B28321
split-complementary
#21B23A #8321B2 #B22151
monochromatic
#0E4B18 #177E29 #21B23A #36DA53 #6AE37F

Accessibility & contrast

On white

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

On black

7.49
#21B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B23A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B23A#FFFFFF#000000##000000
##21B23A1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21b23a;
/* rgb */ color: rgb(33, 178, 58);
/* oklch */ color: oklch(66.7% 0.198 145.0);
Tailwind
colors: {
  custom: {
    50: '#78ca76',
    500: '#21b23a',
    950: '#000000',
  },
}
SCSS
$custom: #21b23a;
$custom-light: #78ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#21b23a",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 130.345,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66749,
    "c": 0.19821,
    "h": 145
  },
  "luminance": 0.3247
}

Semantic roles & 50–950 ramp

primary
#21B23A
secondary
#C966B8
accent
#3CCDEC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #21B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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