#21954E#21954E

#21954E is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.146 H 151.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#21954E
RGBrgb(33, 149, 78)
HSLhsl(143, 64%, 36%)
HSVhsv(143, 78%, 58%)
CMYKcmyk(77.9%, 0%, 47.7%, 41.6%)
CIE-LABlab(54.41, -47.56, 28.68)
CIE-LCHlch(54.41, 55.54, 148.91°)
OKLaboklab(59.1% -0.1278 0.0702)
OKLCHoklch(59.1% 0.146 151.2)
XYZxyz(12.7487, 22.3668, 10.8516)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21954E #952168
analogous
#2E9521 #21954E #219588
triadic
#21954E #4E2195 #954E21
tetradic
#21954E #212E95 #952168 #958821
square
#21954E #212E95 #952168 #958821
split-complementary
#21954E #882195 #95212E
monochromatic
#0B311A #166334 #21954E #2CC768 #57DA8A

Accessibility & contrast

On white

3.84
#21954E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#21954E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21954E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21954E#FFFFFF#000000##000000
##21954E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#887E53
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21954e;
/* rgb */ color: rgb(33, 149, 78);
/* oklch */ color: oklch(59.1% 0.146 151.2);
Tailwind
colors: {
  custom: {
    50: '#70b581',
    500: '#21954e',
    950: '#000000',
  },
}
SCSS
$custom: #21954e;
$custom-light: #70b581;
$custom-dark: #000000;
JSON
{
  "hex": "#21954e",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 78
  },
  "hsl": {
    "h": 143.276,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.14586,
    "h": 151.2
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#21954E
secondary
#BE5495
accent
#41A6E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21954E

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

Preview Lab → · Contrast checker → · Palette generator →

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