#21954B#21954B

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

Color values

HEX#21954B
RGBrgb(33, 149, 75)
HSLhsl(142, 64%, 36%)
HSVhsv(142, 78%, 58%)
CMYKcmyk(77.9%, 0%, 49.7%, 41.6%)
CIE-LABlab(54.37, -48.08, 30.20)
CIE-LCHlch(54.37, 56.78, 147.86°)
OKLaboklab(59.05% -0.1292 0.0736)
OKLCHoklch(59.05% 0.149 150.3)
XYZxyz(12.6436, 22.3247, 10.2980)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21954B #95216B
analogous
#319521 #21954B #219585
triadic
#21954B #4B2195 #954B21
tetradic
#21954B #213195 #95216B #958521
square
#21954B #213195 #95216B #958521
split-complementary
#21954B #852195 #952131
monochromatic
#0B3119 #166332 #21954B #2CC764 #57DA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21954B#FFFFFF#000000##000000
##21954B1.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)
#968845
Deuteranopia (green-blind)
#897E50
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21954b;
/* rgb */ color: rgb(33, 149, 75);
/* oklch */ color: oklch(59.0% 0.149 150.3);
Tailwind
colors: {
  custom: {
    50: '#70b57e',
    500: '#21954b',
    950: '#000000',
  },
}
SCSS
$custom: #21954b;
$custom-light: #70b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#21954b",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 75
  },
  "hsl": {
    "h": 141.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.14867,
    "h": 150.3
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21954B

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

Preview Lab → · Contrast checker → · Palette generator →

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