#21732F#21732F

#21732F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.129 H 146.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#21732F
RGBrgb(33, 115, 47)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 45%)
CMYKcmyk(71.3%, 0%, 59.1%, 54.9%)
CIE-LABlab(42.44, -39.67, 30.24)
CIE-LCHlch(42.44, 49.88, 142.68°)
OKLaboklab(49.06% -0.1071 0.0719)
OKLCHoklch(49.06% 0.129 146.1)
XYZxyz(7.2705, 12.7893, 4.7742)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21732F #732165
analogous
#3C7321 #21732F #217358
triadic
#21732F #2F2173 #732F21
tetradic
#21732F #213C73 #732165 #735821
square
#21732F #213C73 #732165 #735821
split-complementary
#21732F #582173 #73213C
monochromatic
#07180A #13431C #21732F #2FA342 #45CA5B

Accessibility & contrast

On white

5.90
#21732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#21732F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21732F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21732F#FFFFFF#000000##FFFFFF
##21732F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756828
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21732f;
/* rgb */ color: rgb(33, 115, 47);
/* oklch */ color: oklch(49.1% 0.129 146.1);
Tailwind
colors: {
  custom: {
    50: '#689c6a',
    500: '#21732f',
    950: '#000000',
  },
}
SCSS
$custom: #21732f;
$custom-light: #689c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21732f",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 130.244,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.12899,
    "h": 146.1
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#21732F
secondary
#A64997
accent
#49C5DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21732F

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

Preview Lab → · Contrast checker → · Palette generator →

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