#21733E#21733E

#21733E is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.114 H 151.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#21733E
RGBrgb(33, 115, 62)
HSLhsl(141, 55%, 29%)
HSVhsv(141, 71%, 45%)
CMYKcmyk(71.3%, 0%, 46.1%, 54.9%)
CIE-LABlab(42.66, -37.19, 22.37)
CIE-LCHlch(42.66, 43.40, 148.97°)
OKLaboklab(49.31% -0.1002 0.0551)
OKLCHoklch(49.31% 0.114 151.2)
XYZxyz(7.6268, 12.9318, 6.6506)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21733E #732156
analogous
#2D7321 #21733E #217367
triadic
#21733E #3E2173 #733E21
tetradic
#21733E #212D73 #732156 #736721
square
#21733E #212D73 #732156 #736721
split-complementary
#21733E #672173 #73212D
monochromatic
#07180D #134324 #21733E #2FA358 #45CA74

Accessibility & contrast

On white

5.86
#21733E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#21733E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21733E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21733E#FFFFFF#000000##FFFFFF
##21733E1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693A
Deuteranopia (green-blind)
#696242
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21733e;
/* rgb */ color: rgb(33, 115, 62);
/* oklch */ color: oklch(49.3% 0.114 151.2);
Tailwind
colors: {
  custom: {
    50: '#689c74',
    500: '#21733e',
    950: '#000000',
  },
}
SCSS
$custom: #21733e;
$custom-light: #689c74;
$custom-dark: #000000;
JSON
{
  "hex": "#21733e",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 62
  },
  "hsl": {
    "h": 141.22,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.11438,
    "h": 151.2
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#21733E
secondary
#A64986
accent
#49AADF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21733E

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

Preview Lab → · Contrast checker → · Palette generator →

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