#21732E#21732E

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

Color values

HEX#21732E
RGBrgb(33, 115, 46)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 45%)
CMYKcmyk(71.3%, 0%, 60%, 54.9%)
CIE-LABlab(42.43, -39.81, 30.74)
CIE-LCHlch(42.43, 50.29, 142.32°)
OKLaboklab(49.04% -0.1075 0.0729)
OKLCHoklch(49.04% 0.13 145.8)
XYZxyz(7.2506, 12.7813, 4.6692)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21732E #732166
analogous
#3D7321 #21732E #217357
triadic
#21732E #2E2173 #732E21
tetradic
#21732E #213D73 #732166 #735721
square
#21732E #213D73 #732166 #735721
split-complementary
#21732E #572173 #73213D
monochromatic
#07180A #13431B #21732E #2FA341 #45CA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21732E#FFFFFF#000000##FFFFFF
##21732E1.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)
#756827
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21732e;
/* rgb */ color: rgb(33, 115, 46);
/* oklch */ color: oklch(49.0% 0.130 145.8);
Tailwind
colors: {
  custom: {
    50: '#689c69',
    500: '#21732e',
    950: '#000000',
  },
}
SCSS
$custom: #21732e;
$custom-light: #689c69;
$custom-dark: #000000;
JSON
{
  "hex": "#21732e",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 46
  },
  "hsl": {
    "h": 129.512,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.1299,
    "h": 145.8
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#21732E
secondary
#A64998
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21732E

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

Preview Lab → · Contrast checker → · Palette generator →

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