#21954C#21954C

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

Color values

HEX#21954C
RGBrgb(33, 149, 76)
HSLhsl(142, 64%, 36%)
HSVhsv(142, 78%, 58%)
CMYKcmyk(77.9%, 0%, 49%, 41.6%)
CIE-LABlab(54.38, -47.91, 29.70)
CIE-LCHlch(54.38, 56.37, 148.21°)
OKLaboklab(59.06% -0.1287 0.0725)
OKLCHoklch(59.06% 0.148 150.6)
XYZxyz(12.6781, 22.3385, 10.4797)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21954C #95216A
analogous
#309521 #21954C #219586
triadic
#21954C #4C2195 #954C21
tetradic
#21954C #213095 #95216A #958621
square
#21954C #213095 #95216A #958621
split-complementary
#21954C #862195 #952130
monochromatic
#0B3119 #166332 #21954C #2CC766 #57DA87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21954C#FFFFFF#000000##000000
##21954C1.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)
#968846
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21954c;
/* rgb */ color: rgb(33, 149, 76);
/* oklch */ color: oklch(59.1% 0.148 150.6);
Tailwind
colors: {
  custom: {
    50: '#70b57f',
    500: '#21954c',
    950: '#000000',
  },
}
SCSS
$custom: #21954c;
$custom-light: #70b57f;
$custom-dark: #000000;
JSON
{
  "hex": "#21954c",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 76
  },
  "hsl": {
    "h": 142.241,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.14773,
    "h": 150.6
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#21954C
secondary
#BE5497
accent
#41A9E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21954C

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

Preview Lab → · Contrast checker → · Palette generator →

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