#21985B#21985B

#21985B is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.2% C 0.138 H 155.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#21985B
RGBrgb(33, 152, 91)
HSLhsl(149, 64%, 36%)
HSVhsv(149, 78%, 60%)
CMYKcmyk(78.3%, 0%, 40.1%, 40.4%)
CIE-LABlab(55.62, -46.27, 23.23)
CIE-LCHlch(55.62, 51.77, 153.34°)
OKLaboklab(60.16% -0.1247 0.0579)
OKLCHoklch(60.16% 0.138 155.1)
XYZxyz(13.7424, 23.5335, 13.7136)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21985B #98215E
analogous
#239821 #21985B #219897
triadic
#21985B #5B2198 #985B21
tetradic
#21985B #212398 #98215E #989721
square
#21985B #212398 #98215E #989721
split-complementary
#21985B #972198 #982123
monochromatic
#0B331F #16663D #21985B #2CCA79 #59DB98

Accessibility & contrast

On white

3.68
#21985B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#21985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21985B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21985B#FFFFFF#000000##000000
##21985B1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B57
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #21985b;
/* rgb */ color: rgb(33, 152, 91);
/* oklch */ color: oklch(60.2% 0.138 155.1);
Tailwind
colors: {
  custom: {
    50: '#70b78a',
    500: '#21985b',
    950: '#000000',
  },
}
SCSS
$custom: #21985b;
$custom-light: #70b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#21985b",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 149.244,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.13751,
    "h": 155.1
  },
  "luminance": 0.23535
}

Semantic roles & 50–950 ramp

primary
#21985B
secondary
#BF568C
accent
#4096E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #21985B

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

Preview Lab → · Contrast checker → · Palette generator →

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