#21912C#21912C

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

Color values

HEX#21912C
RGBrgb(33, 145, 44)
HSLhsl(126, 63%, 35%)
HSVhsv(126, 77%, 57%)
CMYKcmyk(77.2%, 0%, 69.7%, 43.1%)
CIE-LABlab(52.68, -50.86, 43.17)
CIE-LCHlch(52.68, 66.71, 139.67°)
OKLaboklab(57.53% -0.1375 0.0993)
OKLCHoklch(57.53% 0.17 144.2)
XYZxyz(11.2065, 20.7547, 5.7978)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21912C #912186
analogous
#4E9121 #21912C #219164
triadic
#21912C #2C2191 #912C21
tetradic
#21912C #214E91 #912186 #916421
square
#21912C #214E91 #912186 #916421
split-complementary
#21912C #642191 #91214E
monochromatic
#0A2D0E #165F1D #21912C #2CC33B #54D861

Accessibility & contrast

On white

4.08
#21912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21912C#FFFFFF#000000##000000
##21912C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21912c;
/* rgb */ color: rgb(33, 145, 44);
/* oklch */ color: oklch(57.5% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#70b26a',
    500: '#21912c',
    950: '#000000',
  },
}
SCSS
$custom: #21912c;
$custom-light: #70b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#21912c",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 125.893,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.16961,
    "h": 144.2
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#21912C
secondary
#BC52B1
accent
#42D6E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21912C

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

Preview Lab → · Contrast checker → · Palette generator →

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