#21975B#21975B

#21975B is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.9% C 0.136 H 155.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#21975B
RGBrgb(33, 151, 91)
HSLhsl(149, 64%, 36%)
HSVhsv(149, 78%, 59%)
CMYKcmyk(78.1%, 0%, 39.7%, 40.8%)
CIE-LABlab(55.29, -45.88, 22.79)
CIE-LCHlch(55.29, 51.23, 153.59°)
OKLaboklab(59.89% -0.1237 0.0569)
OKLCHoklch(59.89% 0.136 155.3)
XYZxyz(13.5808, 23.2103, 13.6598)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21975B #97215D
analogous
#229721 #21975B #219796
triadic
#21975B #5B2197 #975B21
tetradic
#21975B #212297 #97215D #979621
square
#21975B #212297 #97215D #979621
split-complementary
#21975B #962197 #972122
monochromatic
#0B331E #16653D #21975B #2CC979 #58DA98

Accessibility & contrast

On white

3.72
#21975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#21975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21975B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21975B#FFFFFF#000000##000000
##21975B1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968A57
Deuteranopia (green-blind)
#88805F
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21975b;
/* rgb */ color: rgb(33, 151, 91);
/* oklch */ color: oklch(59.9% 0.136 155.3);
Tailwind
colors: {
  custom: {
    50: '#70b78a',
    500: '#21975b',
    950: '#000000',
  },
}
SCSS
$custom: #21975b;
$custom-light: #70b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#21975b",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 149.492,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.13616,
    "h": 155.3
  },
  "luminance": 0.23212
}

Semantic roles & 50–950 ramp

primary
#21975B
secondary
#BE558B
accent
#4195E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #21975B

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

Preview Lab → · Contrast checker → · Palette generator →

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