#21732B#21732B

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

Color values

HEX#21732B
RGBrgb(33, 115, 43)
HSLhsl(127, 55%, 29%)
HSVhsv(127, 71%, 45%)
CMYKcmyk(71.3%, 0%, 62.6%, 54.9%)
CIE-LABlab(42.40, -40.21, 32.22)
CIE-LCHlch(42.40, 51.53, 141.30°)
OKLaboklab(49% -0.1087 0.0759)
OKLCHoklch(49% 0.133 145.1)
XYZxyz(7.1935, 12.7584, 4.3686)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21732B #732169
analogous
#407321 #21732B #217354
triadic
#21732B #2B2173 #732B21
tetradic
#21732B #214073 #732169 #735421
square
#21732B #214073 #732169 #735421
split-complementary
#21732B #542173 #732140
monochromatic
#071809 #134319 #21732B #2FA33D #45CA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21732B#FFFFFF#000000##FFFFFF
##21732B1.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)
#756823
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#057063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21732b;
/* rgb */ color: rgb(33, 115, 43);
/* oklch */ color: oklch(49.0% 0.133 145.1);
Tailwind
colors: {
  custom: {
    50: '#699c67',
    500: '#21732b',
    950: '#000000',
  },
}
SCSS
$custom: #21732b;
$custom-light: #699c67;
$custom-dark: #000000;
JSON
{
  "hex": "#21732b",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 43
  },
  "hsl": {
    "h": 127.317,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.13257,
    "h": 145.1
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#21732B
secondary
#A6499B
accent
#49CCDF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21732B

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

Preview Lab → · Contrast checker → · Palette generator →

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