#21B23C#21B23C

#21B23C is a light, vivid green. Relative luminance 0.325; OKLCH L 66.8% C 0.197 H 145.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#21B23C
RGBrgb(33, 178, 60)
HSLhsl(131, 69%, 41%)
HSVhsv(131, 81%, 70%)
CMYKcmyk(81.5%, 0%, 66.3%, 30.2%)
CIE-LABlab(63.74, -60.03, 48.38)
CIE-LCHlch(63.74, 77.10, 141.13°)
OKLaboklab(66.77% -0.1618 0.1121)
OKLCHoklch(66.77% 0.197 145.3)
XYZxyz(17.3619, 32.4882, 9.6299)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B23C #B22197
analogous
#4FB221 #21B23C #21B285
triadic
#21B23C #3C21B2 #B23C21
tetradic
#21B23C #214FB2 #B22197 #B28521
square
#21B23C #214FB2 #B22197 #B28521
split-complementary
#21B23C #8521B2 #B2214F
monochromatic
#0E4B19 #177E2B #21B23C #36DA55 #6AE381

Accessibility & contrast

On white

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

On black

7.50
#21B23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B23C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B23C#FFFFFF#000000##000000
##21B23C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12D
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b23c;
/* rgb */ color: rgb(33, 178, 60);
/* oklch */ color: oklch(66.8% 0.197 145.3);
Tailwind
colors: {
  custom: {
    50: '#78ca77',
    500: '#21b23c',
    950: '#000000',
  },
}
SCSS
$custom: #21b23c;
$custom-light: #78ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#21b23c",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 131.172,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66768,
    "c": 0.19681,
    "h": 145.3
  },
  "luminance": 0.3249
}

Semantic roles & 50–950 ramp

primary
#21B23C
secondary
#C966B7
accent
#3CCBEC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #21B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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