#21912A#21912A

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

Color values

HEX#21912A
RGBrgb(33, 145, 42)
HSLhsl(125, 63%, 35%)
HSVhsv(125, 77%, 57%)
CMYKcmyk(77.2%, 0%, 71%, 43.1%)
CIE-LABlab(52.66, -51.05, 43.99)
CIE-LCHlch(52.66, 67.39, 139.25°)
OKLaboklab(57.51% -0.1382 0.1007)
OKLCHoklch(57.51% 0.171 143.9)
XYZxyz(11.1698, 20.7400, 5.6046)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21912A #912188
analogous
#509121 #21912A #219162
triadic
#21912A #2A2191 #912A21
tetradic
#21912A #215091 #912188 #916221
square
#21912A #215091 #912188 #916221
split-complementary
#21912A #622191 #912150
monochromatic
#0A2D0D #165F1C #21912A #2CC338 #54D85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21912a;
/* rgb */ color: rgb(33, 145, 42);
/* oklch */ color: oklch(57.5% 0.171 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b269',
    500: '#21912a',
    950: '#000000',
  },
}
SCSS
$custom: #21912a;
$custom-light: #70b269;
$custom-dark: #000000;
JSON
{
  "hex": "#21912a",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 124.821,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.17098,
    "h": 143.9
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#21912A
secondary
#BC52B3
accent
#42D9E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21912A

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

Preview Lab → · Contrast checker → · Palette generator →

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