#21954F#21954F

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

Color values

HEX#21954F
RGBrgb(33, 149, 79)
HSLhsl(144, 64%, 36%)
HSVhsv(144, 78%, 58%)
CMYKcmyk(77.9%, 0%, 47%, 41.6%)
CIE-LABlab(54.43, -47.39, 28.16)
CIE-LCHlch(54.43, 55.13, 149.28°)
OKLaboklab(59.11% -0.1274 0.0691)
OKLCHoklch(59.11% 0.145 151.5)
XYZxyz(12.7848, 22.3812, 11.0418)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21954F #952167
analogous
#2D9521 #21954F #219589
triadic
#21954F #4F2195 #954F21
tetradic
#21954F #212D95 #952167 #958921
square
#21954F #212D95 #952167 #958921
split-complementary
#21954F #892195 #95212D
monochromatic
#0B311A #166334 #21954F #2CC76A #57DA8B

Accessibility & contrast

On white

3.83
#21954F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#21954F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21954F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21954F#FFFFFF#000000##000000
##21954F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884A
Deuteranopia (green-blind)
#887E54
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21954f;
/* rgb */ color: rgb(33, 149, 79);
/* oklch */ color: oklch(59.1% 0.145 151.5);
Tailwind
colors: {
  custom: {
    50: '#70b581',
    500: '#21954f',
    950: '#000000',
  },
}
SCSS
$custom: #21954f;
$custom-light: #70b581;
$custom-dark: #000000;
JSON
{
  "hex": "#21954f",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 79
  },
  "hsl": {
    "h": 143.793,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.14491,
    "h": 151.5
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#21954F
secondary
#BE5494
accent
#41A5E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21954F

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

Preview Lab → · Contrast checker → · Palette generator →

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