#21942E#21942E

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

Color values

HEX#21942E
RGBrgb(33, 148, 46)
HSLhsl(127, 64%, 35%)
HSVhsv(127, 78%, 58%)
CMYKcmyk(77.7%, 0%, 68.9%, 42%)
CIE-LABlab(53.71, -51.67, 43.42)
CIE-LCHlch(53.71, 67.49, 139.95°)
OKLaboklab(58.39% -0.1396 0.1)
OKLCHoklch(58.39% 0.172 144.4)
XYZxyz(11.7095, 21.6990, 6.1555)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21942E #942187
analogous
#4D9421 #21942E #219468
triadic
#21942E #2E2194 #942E21
tetradic
#21942E #214D94 #942187 #946821
square
#21942E #214D94 #942187 #946821
split-complementary
#21942E #682194 #94214D
monochromatic
#0B300F #16621E #21942E #2CC63E #56D965

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21942E#FFFFFF#000000##000000
##21942E1.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)
#978620
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #21942e;
/* rgb */ color: rgb(33, 148, 46);
/* oklch */ color: oklch(58.4% 0.172 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b56c',
    500: '#21942e',
    950: '#000000',
  },
}
SCSS
$custom: #21942e;
$custom-light: #71b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#21942e",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 126.783,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.17177,
    "h": 144.4
  },
  "luminance": 0.217
}

Semantic roles & 50–950 ramp

primary
#21942E
secondary
#BD54B1
accent
#41D4E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21942E

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

Preview Lab → · Contrast checker → · Palette generator →

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