#21902A#21902A

#21902A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.170 H 143.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#21902A
RGBrgb(33, 144, 42)
HSLhsl(125, 63%, 35%)
HSVhsv(125, 77%, 56%)
CMYKcmyk(77.1%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.33, -50.72, 43.63)
CIE-LCHlch(52.33, 66.90, 139.29°)
OKLaboklab(57.23% -0.1372 0.1)
OKLCHoklch(57.23% 0.17 143.9)
XYZxyz(11.0177, 20.4357, 5.5539)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21902A #902187
analogous
#509021 #21902A #219062
triadic
#21902A #2A2190 #902A21
tetradic
#21902A #215090 #902187 #906221
square
#21902A #215090 #902187 #906221
split-complementary
#21902A #622190 #902150
monochromatic
#0A2C0D #165E1B #21902A #2CC239 #54D85E

Accessibility & contrast

On white

4.13
#21902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#21902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21902A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21902A#FFFFFF#000000##000000
##21902A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21902a;
/* rgb */ color: rgb(33, 144, 42);
/* oklch */ color: oklch(57.2% 0.170 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b269',
    500: '#21902a',
    950: '#000000',
  },
}
SCSS
$custom: #21902a;
$custom-light: #70b269;
$custom-dark: #000000;
JSON
{
  "hex": "#21902a",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 124.865,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.1698,
    "h": 143.9
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#21902A
secondary
#BB51B3
accent
#42D8E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21902A

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

Preview Lab → · Contrast checker → · Palette generator →

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