#21985C#21985C

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

Color values

HEX#21985C
RGBrgb(33, 152, 92)
HSLhsl(150, 64%, 36%)
HSVhsv(150, 78%, 60%)
CMYKcmyk(78.3%, 0%, 39.5%, 40.4%)
CIE-LABlab(55.64, -46.07, 22.70)
CIE-LCHlch(55.64, 51.36, 153.77°)
OKLaboklab(60.18% -0.1242 0.0567)
OKLCHoklch(60.18% 0.137 155.5)
XYZxyz(13.7859, 23.5509, 13.9423)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21985C #98215D
analogous
#229821 #21985C #219898
triadic
#21985C #5C2198 #985C21
tetradic
#21985C #212298 #98215D #989821
square
#21985C #212298 #98215D #989821
split-complementary
#21985C #982198 #982122
monochromatic
#0B331F #16663E #21985C #2CCA7A #59DB99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21985C#FFFFFF#000000##000000
##21985C1.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)
#978B58
Deuteranopia (green-blind)
#898160
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #21985c;
/* rgb */ color: rgb(33, 152, 92);
/* oklch */ color: oklch(60.2% 0.137 155.5);
Tailwind
colors: {
  custom: {
    50: '#70b78a',
    500: '#21985c',
    950: '#000000',
  },
}
SCSS
$custom: #21985c;
$custom-light: #70b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#21985c",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 149.748,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.13656,
    "h": 155.5
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#21985C
secondary
#BF568B
accent
#4095E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #21985C

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

Preview Lab → · Contrast checker → · Palette generator →

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