#21912B#21912B

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

Color values

HEX#21912B
RGBrgb(33, 145, 43)
HSLhsl(125, 63%, 35%)
HSVhsv(125, 77%, 57%)
CMYKcmyk(77.2%, 0%, 70.3%, 43.1%)
CIE-LABlab(52.67, -50.96, 43.58)
CIE-LCHlch(52.67, 67.05, 139.46°)
OKLaboklab(57.52% -0.1378 0.1)
OKLCHoklch(57.52% 0.17 144)
XYZxyz(11.1879, 20.7472, 5.7000)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21912B #912187
analogous
#4F9121 #21912B #219163
triadic
#21912B #2B2191 #912B21
tetradic
#21912B #214F91 #912187 #916321
square
#21912B #214F91 #912187 #916321
split-complementary
#21912B #632191 #91214F
monochromatic
#0A2D0D #165F1C #21912B #2CC33A #54D860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21912B#FFFFFF#000000##000000
##21912B1.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)
#94831C
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21912b;
/* rgb */ color: rgb(33, 145, 43);
/* oklch */ color: oklch(57.5% 0.170 144.0);
Tailwind
colors: {
  custom: {
    50: '#70b26a',
    500: '#21912b',
    950: '#000000',
  },
}
SCSS
$custom: #21912b;
$custom-light: #70b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#21912b",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 43
  },
  "hsl": {
    "h": 125.357,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.1703,
    "h": 144
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#21912B
secondary
#BC52B2
accent
#42D7E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21912B

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

Preview Lab → · Contrast checker → · Palette generator →

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