#21732A#21732A

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

Color values

HEX#21732A
RGBrgb(33, 115, 42)
HSLhsl(127, 55%, 29%)
HSVhsv(127, 71%, 45%)
CMYKcmyk(71.3%, 0%, 63.5%, 54.9%)
CIE-LABlab(42.39, -40.34, 32.70)
CIE-LCHlch(42.39, 51.93, 140.97°)
OKLaboklab(48.99% -0.1091 0.0768)
OKLCHoklch(48.99% 0.133 144.9)
XYZxyz(7.1754, 12.7512, 4.2731)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21732A #73216A
analogous
#417321 #21732A #217353
triadic
#21732A #2A2173 #732A21
tetradic
#21732A #214173 #73216A #735321
square
#21732A #214173 #73216A #735321
split-complementary
#21732A #532173 #732141
monochromatic
#071809 #134319 #21732A #2FA33B #45CA53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21732A#FFFFFF#000000##FFFFFF
##21732A1.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)
#756822
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#067063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21732a;
/* rgb */ color: rgb(33, 115, 42);
/* oklch */ color: oklch(49.0% 0.133 144.9);
Tailwind
colors: {
  custom: {
    50: '#699c66',
    500: '#21732a',
    950: '#000000',
  },
}
SCSS
$custom: #21732a;
$custom-light: #699c66;
$custom-dark: #000000;
JSON
{
  "hex": "#21732a",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 42
  },
  "hsl": {
    "h": 126.585,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.13343,
    "h": 144.9
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#21732A
secondary
#A6499C
accent
#49CEDF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21732A

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

Preview Lab → · Contrast checker → · Palette generator →

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