#21723D#21723D

#21723D is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.114 H 151.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#21723D
RGBrgb(33, 114, 61)
HSLhsl(141, 55%, 29%)
HSVhsv(141, 71%, 45%)
CMYKcmyk(71.1%, 0%, 46.5%, 55.3%)
CIE-LABlab(42.30, -36.96, 22.47)
CIE-LCHlch(42.30, 43.26, 148.70°)
OKLaboklab(49% -0.0996 0.0553)
OKLCHoklch(49% 0.114 151)
XYZxyz(7.4862, 12.6941, 6.4696)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723D #722156
analogous
#2E7221 #21723D #217266
triadic
#21723D #3D2172 #723D21
tetradic
#21723D #212E72 #722156 #726621
square
#21723D #212E72 #722156 #726621
split-complementary
#21723D #662172 #72212E
monochromatic
#07180D #134324 #21723D #2FA156 #44C972

Accessibility & contrast

On white

5.93
#21723D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#21723D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21723D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21723D#FFFFFF#000000##FFFFFF
##21723D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736839
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21723d;
/* rgb */ color: rgb(33, 114, 61);
/* oklch */ color: oklch(49.0% 0.114 151.0);
Tailwind
colors: {
  custom: {
    50: '#689b73',
    500: '#21723d',
    950: '#000000',
  },
}
SCSS
$custom: #21723d;
$custom-light: #689b73;
$custom-dark: #000000;
JSON
{
  "hex": "#21723d",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 61
  },
  "hsl": {
    "h": 140.741,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.11394,
    "h": 151
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#21723D
secondary
#A54986
accent
#49ABDE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723D

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

Preview Lab → · Contrast checker → · Palette generator →

#21723D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva