#21993B#21993B

#21993B is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.168 H 146.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#21993B
RGBrgb(33, 153, 59)
HSLhsl(133, 65%, 36%)
HSVhsv(133, 78%, 60%)
CMYKcmyk(78.4%, 0%, 61.4%, 40%)
CIE-LABlab(55.50, -51.87, 39.57)
CIE-LCHlch(55.50, 65.24, 142.66°)
OKLaboklab(59.92% -0.1397 0.0932)
OKLCHoklch(59.92% 0.168 146.3)
XYZxyz(12.8069, 23.4200, 7.9824)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21993B #99217F
analogous
#439921 #21993B #219977
triadic
#21993B #3B2199 #993B21
tetradic
#21993B #214399 #99217F #997721
square
#21993B #214399 #99217F #997721
split-complementary
#21993B #772199 #992143
monochromatic
#0B3414 #166728 #21993B #2CCB4E #59DB75

Accessibility & contrast

On white

3.69
#21993B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#21993B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21993B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21993B#FFFFFF#000000##000000
##21993B1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B31
Deuteranopia (green-blind)
#8E8143
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #21993b;
/* rgb */ color: rgb(33, 153, 59);
/* oklch */ color: oklch(59.9% 0.168 146.3);
Tailwind
colors: {
  custom: {
    50: '#71b874',
    500: '#21993b',
    950: '#000000',
  },
}
SCSS
$custom: #21993b;
$custom-light: #71b874;
$custom-dark: #000000;
JSON
{
  "hex": "#21993b",
  "rgb": {
    "r": 33,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 133,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.1679,
    "h": 146.3
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#21993B
secondary
#BF56A9
accent
#40C3E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #21993B

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

Preview Lab → · Contrast checker → · Palette generator →

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