#21942D#21942D

#21942D is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.172 H 144.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#21942D
RGBrgb(33, 148, 45)
HSLhsl(126, 64%, 35%)
HSVhsv(126, 78%, 58%)
CMYKcmyk(77.7%, 0%, 69.6%, 42%)
CIE-LABlab(53.70, -51.77, 43.84)
CIE-LCHlch(53.70, 67.84, 139.74°)
OKLaboklab(58.38% -0.14 0.1008)
OKLCHoklch(58.38% 0.172 144.2)
XYZxyz(11.6900, 21.6912, 6.0528)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21942D #942188
analogous
#4E9421 #21942D #219466
triadic
#21942D #2D2194 #942D21
tetradic
#21942D #214E94 #942188 #946621
square
#21942D #214E94 #942188 #946621
split-complementary
#21942D #662194 #94214E
monochromatic
#0B300F #16621E #21942D #2CC63C #56D964

Accessibility & contrast

On white

3.93
#21942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#21942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21942D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21942D#FFFFFF#000000##000000
##21942D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #21942d;
/* rgb */ color: rgb(33, 148, 45);
/* oklch */ color: oklch(58.4% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b56b',
    500: '#21942d',
    950: '#000000',
  },
}
SCSS
$custom: #21942d;
$custom-light: #71b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#21942d",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 126.261,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.17247,
    "h": 144.2
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#21942D
secondary
#BD54B2
accent
#41D5E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21942D

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

Preview Lab → · Contrast checker → · Palette generator →

#21942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva