#21902F#21902F

#21902F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.166 H 144.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#21902F
RGBrgb(33, 144, 47)
HSLhsl(128, 63%, 35%)
HSVhsv(128, 77%, 56%)
CMYKcmyk(77.1%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.37, -50.20, 41.54)
CIE-LCHlch(52.37, 65.16, 140.39°)
OKLaboklab(57.28% -0.1356 0.0962)
OKLCHoklch(57.28% 0.166 144.7)
XYZxyz(11.1128, 20.4738, 6.0549)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21902F #902182
analogous
#4A9021 #21902F #219067
triadic
#21902F #2F2190 #902F21
tetradic
#21902F #214A90 #902182 #906721
square
#21902F #214A90 #902182 #906721
split-complementary
#21902F #672190 #90214A
monochromatic
#0A2C0E #165E1F #21902F #2CC23F #54D864

Accessibility & contrast

On white

4.12
#21902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21902F#FFFFFF#000000##000000
##21902F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#867A38
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21902f;
/* rgb */ color: rgb(33, 144, 47);
/* oklch */ color: oklch(57.3% 0.166 144.7);
Tailwind
colors: {
  custom: {
    50: '#70b26c',
    500: '#21902f',
    950: '#000000',
  },
}
SCSS
$custom: #21902f;
$custom-light: #70b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#21902f",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 127.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.16624,
    "h": 144.7
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21902F

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

Preview Lab → · Contrast checker → · Palette generator →

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