#21A751#21A751

#21A751 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.166 H 149.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#21A751
RGBrgb(33, 167, 81)
HSLhsl(141, 67%, 39%)
HSVhsv(141, 80%, 65%)
CMYKcmyk(80.2%, 0%, 51.5%, 34.5%)
CIE-LABlab(60.38, -53.57, 34.61)
CIE-LCHlch(60.38, 63.78, 147.13°)
OKLaboklab(64.05% -0.1438 0.0838)
OKLCHoklch(64.05% 0.166 149.8)
XYZxyz(15.9298, 28.5529, 12.4547)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A751 #A72177
analogous
#34A721 #21A751 #21A794
triadic
#21A751 #5121A7 #A75121
tetradic
#21A751 #2134A7 #A72177 #A79421
square
#21A751 #2134A7 #A72177 #A79421
split-complementary
#21A751 #9421A7 #A72134
monochromatic
#0D411F #177438 #21A751 #2FD66B #62E08F

Accessibility & contrast

On white

3.13
#21A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#21A751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A751
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A751#FFFFFF#000000##000000
##21A7511.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984A
Deuteranopia (green-blind)
#998D57
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a751;
/* rgb */ color: rgb(33, 167, 81);
/* oklch */ color: oklch(64.1% 0.166 149.8);
Tailwind
colors: {
  custom: {
    50: '#74c283',
    500: '#21a751',
    950: '#000000',
  },
}
SCSS
$custom: #21a751;
$custom-light: #74c283;
$custom-dark: #000000;
JSON
{
  "hex": "#21a751",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 141.493,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.16646,
    "h": 149.8
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#21A751
secondary
#C55FA0
accent
#3EACEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A751

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

Preview Lab → · Contrast checker → · Palette generator →

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