#21952F#21952F

#21952F is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.172 H 144.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#21952F
RGBrgb(33, 149, 47)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 58%)
CMYKcmyk(77.9%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.05, -51.90, 43.37)
CIE-LCHlch(54.05, 67.63, 140.12°)
OKLaboklab(58.68% -0.1402 0.1)
OKLCHoklch(58.68% 0.172 144.5)
XYZxyz(11.8869, 22.0221, 6.3130)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21952F #952187
analogous
#4D9521 #21952F #219569
triadic
#21952F #2F2195 #952F21
tetradic
#21952F #214D95 #952187 #956921
square
#21952F #214D95 #952187 #956921
split-complementary
#21952F #692195 #95214D
monochromatic
#0B310F #16631F #21952F #2CC73F #57DA66

Accessibility & contrast

On white

3.89
#21952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#21952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21952F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21952F#FFFFFF#000000##000000
##21952F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #21952f;
/* rgb */ color: rgb(33, 149, 47);
/* oklch */ color: oklch(58.7% 0.172 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b56d',
    500: '#21952f',
    950: '#000000',
  },
}
SCSS
$custom: #21952f;
$custom-light: #71b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#21952f",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 127.241,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.17224,
    "h": 144.5
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#21952F
secondary
#BE54B1
accent
#41D3E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21952F

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

Preview Lab → · Contrast checker → · Palette generator →

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