#21995C#21995C

#21995C is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.5% C 0.138 H 155.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#21995C
RGBrgb(33, 153, 92)
HSLhsl(150, 65%, 36%)
HSVhsv(150, 78%, 60%)
CMYKcmyk(78.4%, 0%, 39.9%, 40%)
CIE-LABlab(55.96, -46.45, 23.14)
CIE-LCHlch(55.96, 51.90, 153.52°)
OKLaboklab(60.45% -0.1252 0.0577)
OKLCHoklch(60.45% 0.138 155.3)
XYZxyz(13.9489, 23.8768, 13.9967)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21995C #99215E
analogous
#229921 #21995C #219998
triadic
#21995C #5C2199 #995C21
tetradic
#21995C #212299 #99215E #999821
square
#21995C #212299 #99215E #999821
split-complementary
#21995C #982199 #992122
monochromatic
#0B341F #16673E #21995C #2CCB7A #59DB99

Accessibility & contrast

On white

3.64
#21995C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#21995C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21995C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21995C#FFFFFF#000000##000000
##21995C1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C58
Deuteranopia (green-blind)
#8A8260
Tritanopia (blue-blind)
#00978A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #21995c;
/* rgb */ color: rgb(33, 153, 92);
/* oklch */ color: oklch(60.5% 0.138 155.3);
Tailwind
colors: {
  custom: {
    50: '#70b88a',
    500: '#21995c',
    950: '#000000',
  },
}
SCSS
$custom: #21995c;
$custom-light: #70b88a;
$custom-dark: #000000;
JSON
{
  "hex": "#21995c",
  "rgb": {
    "r": 33,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 149.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.13791,
    "h": 155.3
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#21995C
secondary
#BF568C
accent
#4095E8
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #21995C

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

Preview Lab → · Contrast checker → · Palette generator →

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