#21952E#21952E

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

Color values

HEX#21952E
RGBrgb(33, 149, 46)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 58%)
CMYKcmyk(77.9%, 0%, 69.1%, 41.6%)
CIE-LABlab(54.04, -52.00, 43.79)
CIE-LCHlch(54.04, 67.98, 139.90°)
OKLaboklab(58.67% -0.1405 0.1008)
OKLCHoklch(58.67% 0.173 144.4)
XYZxyz(11.8670, 22.0141, 6.2080)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21952E #952188
analogous
#4E9521 #21952E #219568
triadic
#21952E #2E2195 #952E21
tetradic
#21952E #214E95 #952188 #956821
square
#21952E #214E95 #952188 #956821
split-complementary
#21952E #682195 #95214E
monochromatic
#0B310F #16631F #21952E #2CC73D #57DA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21952E#FFFFFF#000000##000000
##21952E1.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)
#988720
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #21952e;
/* rgb */ color: rgb(33, 149, 46);
/* oklch */ color: oklch(58.7% 0.173 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b56c',
    500: '#21952e',
    950: '#000000',
  },
}
SCSS
$custom: #21952e;
$custom-light: #71b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#21952e",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 126.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.17295,
    "h": 144.4
  },
  "luminance": 0.22015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21952E

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

Preview Lab → · Contrast checker → · Palette generator →

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