#21A11F#21A11F

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

Color values

HEX#21A11F
RGBrgb(33, 161, 31)
HSLhsl(119, 68%, 38%)
HSVhsv(119, 81%, 63%)
CMYKcmyk(79.5%, 0%, 80.7%, 36.9%)
CIE-LABlab(57.95, -57.12, 53.22)
CIE-LCHlch(57.95, 78.07, 137.03°)
OKLaboklab(61.89% -0.1551 0.1185)
OKLCHoklch(61.89% 0.195 142.6)
XYZxyz(13.6185, 25.9104, 5.5795)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A11F #9F1FA1
analogous
#62A11F #21A11F #1FA15E
triadic
#21A11F #1F21A1 #A11F21
tetradic
#21A11F #1F62A1 #9F1FA1 #A15E1F
square
#21A11F #1F62A1 #9F1FA1 #A15E1F
split-complementary
#21A11F #5E1FA1 #A11F62
monochromatic
#0C3A0B #166E15 #21A11F #2CD429 #5DDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A11F#FFFFFF#000000##000000
##21A11F1.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)
#97882F
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a11f;
/* rgb */ color: rgb(33, 161, 31);
/* oklch */ color: oklch(61.9% 0.195 142.6);
Tailwind
colors: {
  custom: {
    50: '#75be66',
    500: '#21a11f',
    950: '#000000',
  },
}
SCSS
$custom: #21a11f;
$custom-light: #75be66;
$custom-dark: #000000;
JSON
{
  "hex": "#21a11f",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 119.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.19522,
    "h": 142.6
  },
  "luminance": 0.25912
}

Semantic roles & 50–950 ramp

primary
#21A11F
secondary
#C258C4
accent
#3DEBE8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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