#21B234#21B234

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

Color values

HEX#21B234
RGBrgb(33, 178, 52)
HSLhsl(128, 69%, 41%)
HSVhsv(128, 81%, 70%)
CMYKcmyk(81.5%, 0%, 70.8%, 30.2%)
CIE-LABlab(63.68, -60.82, 51.57)
CIE-LCHlch(63.68, 79.74, 139.70°)
OKLaboklab(66.69% -0.1643 0.1179)
OKLCHoklch(66.69% 0.202 144.3)
XYZxyz(17.1662, 32.4100, 8.5992)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B234 #B2219F
analogous
#57B221 #21B234 #21B27D
triadic
#21B234 #3421B2 #B23421
tetradic
#21B234 #2157B2 #B2219F #B27D21
square
#21B234 #2157B2 #B2219F #B27D21
split-complementary
#21B234 #7D21B2 #B22157
monochromatic
#0E4B16 #177E25 #21B234 #36DA4C #6AE37A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21B234#FFFFFF#000000##000000
##21B2341.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)
#B5A120
Deuteranopia (green-blind)
#A69641
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b234;
/* rgb */ color: rgb(33, 178, 52);
/* oklch */ color: oklch(66.7% 0.202 144.3);
Tailwind
colors: {
  custom: {
    50: '#78ca72',
    500: '#21b234',
    950: '#000000',
  },
}
SCSS
$custom: #21b234;
$custom-light: #78ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#21b234",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 127.862,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.20218,
    "h": 144.3
  },
  "luminance": 0.32412
}

Semantic roles & 50–950 ramp

primary
#21B234
secondary
#C966BC
accent
#3CD5EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21B234

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

Preview Lab → · Contrast checker → · Palette generator →

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