#21942F#21942F

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

Color values

HEX#21942F
RGBrgb(33, 148, 47)
HSLhsl(127, 64%, 35%)
HSVhsv(127, 78%, 58%)
CMYKcmyk(77.7%, 0%, 68.2%, 42%)
CIE-LABlab(53.71, -51.56, 43.00)
CIE-LCHlch(53.71, 67.14, 140.17°)
OKLaboklab(58.4% -0.1393 0.0993)
OKLCHoklch(58.4% 0.171 144.5)
XYZxyz(11.7294, 21.7070, 6.2605)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21942F #942186
analogous
#4D9421 #21942F #219468
triadic
#21942F #2F2194 #942F21
tetradic
#21942F #214D94 #942186 #946821
square
#21942F #214D94 #942186 #946821
split-complementary
#21942F #682194 #94214D
monochromatic
#0B300F #16621F #21942F #2CC63F #56D966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21942f;
/* rgb */ color: rgb(33, 148, 47);
/* oklch */ color: oklch(58.4% 0.171 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b56c',
    500: '#21942f',
    950: '#000000',
  },
}
SCSS
$custom: #21942f;
$custom-light: #71b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#21942f",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 127.304,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.584,
    "c": 0.17106,
    "h": 144.5
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#21942F
secondary
#BD54B0
accent
#41D2E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21942F

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

Preview Lab → · Contrast checker → · Palette generator →

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