#21941F#21941F

#21941F is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.181 H 142.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#21941F
RGBrgb(33, 148, 31)
HSLhsl(119, 65%, 35%)
HSVhsv(119, 79%, 58%)
CMYKcmyk(77.7%, 0%, 79.1%, 42%)
CIE-LABlab(53.60, -52.96, 49.05)
CIE-LCHlch(53.60, 72.19, 137.20°)
OKLaboklab(58.27% -0.1439 0.1098)
OKLCHoklch(58.27% 0.181 142.6)
XYZxyz(11.4637, 21.6007, 4.8612)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21941F #921F94
analogous
#5C941F #21941F #1F9457
triadic
#21941F #1F2194 #941F21
tetradic
#21941F #1F5C94 #921F94 #94571F
square
#21941F #1F5C94 #921F94 #94571F
split-complementary
#21941F #571F94 #941F5C
monochromatic
#0A2F0A #166114 #21941F #2CC72A #55DB53

Accessibility & contrast

On white

3.95
#21941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#21941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21941F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21941F#FFFFFF#000000##000000
##21941F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #21941f;
/* rgb */ color: rgb(33, 148, 31);
/* oklch */ color: oklch(58.3% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#21941f',
    950: '#000000',
  },
}
SCSS
$custom: #21941f;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#21941f",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 118.974,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.18099,
    "h": 142.6
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#21941F
secondary
#BC51BE
accent
#3FE8E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21941F

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

Preview Lab → · Contrast checker → · Palette generator →

#21941F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva