#21733A#21733A

#21733A is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.2% C 0.118 H 149.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#21733A
RGBrgb(33, 115, 58)
HSLhsl(138, 55%, 29%)
HSVhsv(138, 71%, 45%)
CMYKcmyk(71.3%, 0%, 49.6%, 54.9%)
CIE-LABlab(42.60, -37.91, 24.53)
CIE-LCHlch(42.60, 45.15, 147.10°)
OKLaboklab(49.23% -0.1021 0.0599)
OKLCHoklch(49.23% 0.118 149.6)
XYZxyz(7.5211, 12.8895, 6.0937)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21733A #73215A
analogous
#317321 #21733A #217363
triadic
#21733A #3A2173 #733A21
tetradic
#21733A #213173 #73215A #736321
square
#21733A #213173 #73215A #736321
split-complementary
#21733A #632173 #732131
monochromatic
#07180C #134322 #21733A #2FA352 #45CA6D

Accessibility & contrast

On white

5.87
#21733A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#21733A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21733A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21733A#FFFFFF#000000##FFFFFF
##21733A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746935
Deuteranopia (green-blind)
#6A623E
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21733a;
/* rgb */ color: rgb(33, 115, 58);
/* oklch */ color: oklch(49.2% 0.118 149.6);
Tailwind
colors: {
  custom: {
    50: '#689c71',
    500: '#21733a',
    950: '#000000',
  },
}
SCSS
$custom: #21733a;
$custom-light: #689c71;
$custom-dark: #000000;
JSON
{
  "hex": "#21733a",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 58
  },
  "hsl": {
    "h": 138.293,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.1184,
    "h": 149.6
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#21733A
secondary
#A6498A
accent
#49B1DF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21733A

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

Preview Lab → · Contrast checker → · Palette generator →

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