#21A118#21A118

#21A118 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.198 H 142.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#21A118
RGBrgb(33, 161, 24)
HSLhsl(116, 74%, 36%)
HSVhsv(116, 85%, 63%)
CMYKcmyk(79.5%, 0%, 85.1%, 36.9%)
CIE-LABlab(57.92, -57.51, 55.14)
CIE-LCHlch(57.92, 79.68, 136.21°)
OKLaboklab(61.85% -0.1565 0.1216)
OKLCHoklch(61.85% 0.198 142.1)
XYZxyz(13.5361, 25.8774, 5.1454)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A118 #9818A1
analogous
#66A118 #21A118 #18A154
triadic
#21A118 #1821A1 #A11821
tetradic
#21A118 #1866A1 #9818A1 #A15418
square
#21A118 #1866A1 #9818A1 #A15418
split-complementary
#21A118 #5418A1 #A11866
monochromatic
#0B3608 #166C10 #21A118 #2CD620 #59E54F

Accessibility & contrast

On white

3.40
#21A118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#21A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A118
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A118#FFFFFF#000000##000000
##21A1181.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a118;
/* rgb */ color: rgb(33, 161, 24);
/* oklch */ color: oklch(61.9% 0.198 142.1);
Tailwind
colors: {
  custom: {
    50: '#75be63',
    500: '#21a118',
    950: '#000000',
  },
}
SCSS
$custom: #21a118;
$custom-light: #75be63;
$custom-dark: #000000;
JSON
{
  "hex": "#21a118",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 116.058,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.19816,
    "h": 142.1
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#21A118
secondary
#BF4EC7
accent
#37F1E5
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A118

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

Preview Lab → · Contrast checker → · Palette generator →

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