#21A74B#21A74B

#21A74B is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.172 H 148.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#21A74B
RGBrgb(33, 167, 75)
HSLhsl(139, 67%, 39%)
HSVhsv(139, 80%, 65%)
CMYKcmyk(80.2%, 0%, 55.1%, 34.5%)
CIE-LABlab(60.31, -54.49, 37.52)
CIE-LCHlch(60.31, 66.16, 145.45°)
OKLaboklab(63.97% -0.1463 0.0899)
OKLCHoklch(63.97% 0.172 148.4)
XYZxyz(15.7146, 28.4669, 11.3217)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A74B #A7217D
analogous
#3AA721 #21A74B #21A78E
triadic
#21A74B #4B21A7 #A74B21
tetradic
#21A74B #213AA7 #A7217D #A78E21
square
#21A74B #213AA7 #A7217D #A78E21
split-complementary
#21A74B #8E21A7 #A7213A
monochromatic
#0D411D #177434 #21A74B #2FD664 #62E08A

Accessibility & contrast

On white

3.14
#21A74B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#21A74B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A74B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A74B#FFFFFF#000000##000000
##21A74B1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99843
Deuteranopia (green-blind)
#9A8D52
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a74b;
/* rgb */ color: rgb(33, 167, 75);
/* oklch */ color: oklch(64.0% 0.172 148.4);
Tailwind
colors: {
  custom: {
    50: '#74c27f',
    500: '#21a74b',
    950: '#000000',
  },
}
SCSS
$custom: #21a74b;
$custom-light: #74c27f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a74b",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 138.806,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.17177,
    "h": 148.4
  },
  "luminance": 0.28469
}

Semantic roles & 50–950 ramp

primary
#21A74B
secondary
#C55FA5
accent
#3EB4EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21A74B

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

Preview Lab → · Contrast checker → · Palette generator →

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