#21942C#21942C

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

Color values

HEX#21942C
RGBrgb(33, 148, 44)
HSLhsl(126, 64%, 35%)
HSVhsv(126, 78%, 58%)
CMYKcmyk(77.7%, 0%, 70.3%, 42%)
CIE-LABlab(53.69, -51.87, 44.25)
CIE-LCHlch(53.69, 68.18, 139.53°)
OKLaboklab(58.37% -0.1403 0.1015)
OKLCHoklch(58.37% 0.173 144.1)
XYZxyz(11.6709, 21.6836, 5.9527)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21942C #942189
analogous
#4F9421 #21942C #219465
triadic
#21942C #2C2194 #942C21
tetradic
#21942C #214F94 #942189 #946521
square
#21942C #214F94 #942189 #946521
split-complementary
#21942C #652194 #94214F
monochromatic
#0B300E #16621D #21942C #2CC63B #56D963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21942C#FFFFFF#000000##000000
##21942C1.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)
#97861D
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #21942c;
/* rgb */ color: rgb(33, 148, 44);
/* oklch */ color: oklch(58.4% 0.173 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b56b',
    500: '#21942c',
    950: '#000000',
  },
}
SCSS
$custom: #21942c;
$custom-light: #71b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#21942c",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 125.739,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.17316,
    "h": 144.1
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#21942C
secondary
#BD54B3
accent
#41D7E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21942C

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

Preview Lab → · Contrast checker → · Palette generator →

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