#21912F#21912F

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

Color values

HEX#21912F
RGBrgb(33, 145, 47)
HSLhsl(128, 63%, 35%)
HSVhsv(128, 77%, 57%)
CMYKcmyk(77.2%, 0%, 67.6%, 43.1%)
CIE-LABlab(52.71, -50.54, 41.91)
CIE-LCHlch(52.71, 65.66, 140.34°)
OKLaboklab(57.56% -0.1365 0.0969)
OKLCHoklch(57.56% 0.167 144.6)
XYZxyz(11.2649, 20.7781, 6.1056)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21912F #912183
analogous
#4B9121 #21912F #219167
triadic
#21912F #2F2191 #912F21
tetradic
#21912F #214B91 #912183 #916721
square
#21912F #214B91 #912183 #916721
split-complementary
#21912F #672191 #91214B
monochromatic
#0A2D0F #165F1F #21912F #2CC33F #54D865

Accessibility & contrast

On white

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

On black

5.16
#21912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21912F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21912F#FFFFFF#000000##000000
##21912F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21912f;
/* rgb */ color: rgb(33, 145, 47);
/* oklch */ color: oklch(57.6% 0.167 144.6);
Tailwind
colors: {
  custom: {
    50: '#70b26c',
    500: '#21912f',
    950: '#000000',
  },
}
SCSS
$custom: #21912f;
$custom-light: #70b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#21912f",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 127.5,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.16745,
    "h": 144.6
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#21912F
secondary
#BC52AF
accent
#42D1E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21912F

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

Preview Lab → · Contrast checker → · Palette generator →

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