#21732D#21732D

#21732D is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.131 H 145.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#21732D
RGBrgb(33, 115, 45)
HSLhsl(129, 55%, 29%)
HSVhsv(129, 71%, 45%)
CMYKcmyk(71.3%, 0%, 60.9%, 54.9%)
CIE-LABlab(42.42, -39.95, 31.24)
CIE-LCHlch(42.42, 50.71, 141.98°)
OKLaboklab(49.03% -0.1079 0.0739)
OKLCHoklch(49.03% 0.131 145.6)
XYZxyz(7.2311, 12.7735, 4.5666)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21732D #732167
analogous
#3E7321 #21732D #217356
triadic
#21732D #2D2173 #732D21
tetradic
#21732D #213E73 #732167 #735621
square
#21732D #213E73 #732167 #735621
split-complementary
#21732D #562173 #73213E
monochromatic
#071809 #13431A #21732D #2FA340 #45CA58

Accessibility & contrast

On white

5.91
#21732D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#21732D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21732D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21732D#FFFFFF#000000##FFFFFF
##21732D1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756826
Deuteranopia (green-blind)
#6B6133
Tritanopia (blue-blind)
#047064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21732d;
/* rgb */ color: rgb(33, 115, 45);
/* oklch */ color: oklch(49.0% 0.131 145.6);
Tailwind
colors: {
  custom: {
    50: '#699c68',
    500: '#21732d',
    950: '#000000',
  },
}
SCSS
$custom: #21732d;
$custom-light: #699c68;
$custom-dark: #000000;
JSON
{
  "hex": "#21732d",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 45
  },
  "hsl": {
    "h": 128.78,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.1308,
    "h": 145.6
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#21732D
secondary
#A64999
accent
#49C9DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21732D

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

Preview Lab → · Contrast checker → · Palette generator →

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