#21A758#21A758

#21A758 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.2% C 0.160 H 151.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#21A758
RGBrgb(33, 167, 88)
HSLhsl(145, 67%, 39%)
HSVhsv(145, 80%, 65%)
CMYKcmyk(80.2%, 0%, 47.3%, 34.5%)
CIE-LABlab(60.48, -52.41, 31.14)
CIE-LCHlch(60.48, 60.97, 149.28°)
OKLaboklab(64.17% -0.1408 0.0763)
OKLCHoklch(64.17% 0.16 151.6)
XYZxyz(16.2059, 28.6634, 13.9091)
Luminance0.2867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A758 #A72170
analogous
#2DA721 #21A758 #21A79B
triadic
#21A758 #5821A7 #A75821
tetradic
#21A758 #212DA7 #A72170 #A79B21
square
#21A758 #212DA7 #A72170 #A79B21
split-complementary
#21A758 #9B21A7 #A7212D
monochromatic
#0D4122 #17743D #21A758 #2FD674 #62E096

Accessibility & contrast

On white

3.12
#21A758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#21A758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A758
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A758#FFFFFF#000000##000000
##21A7581.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89852
Deuteranopia (green-blind)
#988E5E
Tritanopia (blue-blind)
#00A494
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a758;
/* rgb */ color: rgb(33, 167, 88);
/* oklch */ color: oklch(64.2% 0.160 151.6);
Tailwind
colors: {
  custom: {
    50: '#74c288',
    500: '#21a758',
    950: '#000000',
  },
}
SCSS
$custom: #21a758;
$custom-light: #74c288;
$custom-dark: #000000;
JSON
{
  "hex": "#21a758",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 88
  },
  "hsl": {
    "h": 144.627,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.16009,
    "h": 151.6
  },
  "luminance": 0.28665
}

Semantic roles & 50–950 ramp

primary
#21A758
secondary
#C55F9B
accent
#3EA3EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #21A758

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

Preview Lab → · Contrast checker → · Palette generator →

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