#21942A#21942A

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

Color values

HEX#21942A
RGBrgb(33, 148, 42)
HSLhsl(125, 64%, 35%)
HSVhsv(125, 78%, 58%)
CMYKcmyk(77.7%, 0%, 71.6%, 42%)
CIE-LABlab(53.67, -52.06, 45.05)
CIE-LCHlch(53.67, 68.85, 139.13°)
OKLaboklab(58.35% -0.1409 0.103)
OKLCHoklch(58.35% 0.175 143.8)
XYZxyz(11.6343, 21.6689, 5.7594)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21942A #94218B
analogous
#519421 #21942A #219464
triadic
#21942A #2A2194 #942A21
tetradic
#21942A #215194 #94218B #946421
square
#21942A #215194 #94218B #946421
split-complementary
#21942A #642194 #942151
monochromatic
#0B300E #16621C #21942A #2CC638 #56D960

Accessibility & contrast

On white

3.94
#21942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#21942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21942A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21942A#FFFFFF#000000##000000
##21942A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21942a;
/* rgb */ color: rgb(33, 148, 42);
/* oklch */ color: oklch(58.4% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#21942a',
    950: '#000000',
  },
}
SCSS
$custom: #21942a;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#21942a",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 124.696,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.1745,
    "h": 143.8
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#21942A
secondary
#BD54B5
accent
#41DAE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21942A

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

Preview Lab → · Contrast checker → · Palette generator →

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