#21912E#21912E

#21912E is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.168 H 144.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#21912E
RGBrgb(33, 145, 46)
HSLhsl(127, 63%, 35%)
HSVhsv(127, 77%, 57%)
CMYKcmyk(77.2%, 0%, 68.3%, 43.1%)
CIE-LABlab(52.70, -50.65, 42.33)
CIE-LCHlch(52.70, 66.01, 140.11°)
OKLaboklab(57.55% -0.1369 0.0977)
OKLCHoklch(57.55% 0.168 144.5)
XYZxyz(11.2450, 20.7701, 6.0006)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21912E #912184
analogous
#4C9121 #21912E #219166
triadic
#21912E #2E2191 #912E21
tetradic
#21912E #214C91 #912184 #916621
square
#21912E #214C91 #912184 #916621
split-complementary
#21912E #662191 #91214C
monochromatic
#0A2D0E #165F1E #21912E #2CC33E #54D864

Accessibility & contrast

On white

4.07
#21912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#21912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21912E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21912E#FFFFFF#000000##000000
##21912E1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21912e;
/* rgb */ color: rgb(33, 145, 46);
/* oklch */ color: oklch(57.6% 0.168 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b26c',
    500: '#21912e',
    950: '#000000',
  },
}
SCSS
$custom: #21912e;
$custom-light: #70b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#21912e",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 126.964,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.16818,
    "h": 144.5
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#21912E
secondary
#BC52B0
accent
#42D3E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21912E

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

Preview Lab → · Contrast checker → · Palette generator →

#21912E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva