#21945A#21945A

#21945A is a mid, vivid green. Relative luminance 0.222; OKLCH L 59.1% C 0.133 H 155.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#21945A
RGBrgb(33, 148, 90)
HSLhsl(150, 64%, 35%)
HSVhsv(150, 78%, 58%)
CMYKcmyk(77.7%, 0%, 39.2%, 42%)
CIE-LABlab(54.28, -44.91, 22.00)
CIE-LCHlch(54.28, 50.01, 153.90°)
OKLaboklab(59.05% -0.1212 0.055)
OKLCHoklch(59.05% 0.133 155.6)
XYZxyz(13.0613, 22.2398, 13.2752)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21945A #94215B
analogous
#219421 #21945A #219493
triadic
#21945A #5A2194 #945A21
tetradic
#21945A #212194 #94215B #949321
square
#21945A #212194 #94215B #949321
split-complementary
#21945A #932194 #942121
monochromatic
#0B301D #16623C #21945A #2CC678 #56D997

Accessibility & contrast

On white

3.85
#21945A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#21945A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21945A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21945A#FFFFFF#000000##000000
##21945A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938856
Deuteranopia (green-blind)
#867E5E
Tritanopia (blue-blind)
#009285
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21945a;
/* rgb */ color: rgb(33, 148, 90);
/* oklch */ color: oklch(59.1% 0.133 155.6);
Tailwind
colors: {
  custom: {
    50: '#6fb489',
    500: '#21945a',
    950: '#000000',
  },
}
SCSS
$custom: #21945a;
$custom-light: #6fb489;
$custom-dark: #000000;
JSON
{
  "hex": "#21945a",
  "rgb": {
    "r": 33,
    "g": 148,
    "b": 90
  },
  "hsl": {
    "h": 149.739,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.13307,
    "h": 155.6
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#21945A
secondary
#BD5489
accent
#4195E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110B
muted
#7B807C

Preview Lab

Preview with #21945A

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

Preview Lab → · Contrast checker → · Palette generator →

#21945A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva