#21723E#21723E

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

Color values

HEX#21723E
RGBrgb(33, 114, 62)
HSLhsl(141, 55%, 29%)
HSVhsv(141, 71%, 45%)
CMYKcmyk(71.1%, 0%, 45.6%, 55.3%)
CIE-LABlab(42.32, -36.77, 21.93)
CIE-LCHlch(42.32, 42.81, 149.19°)
OKLaboklab(49.02% -0.0991 0.0541)
OKLCHoklch(49.02% 0.113 151.4)
XYZxyz(7.5134, 12.7049, 6.6128)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723E #722155
analogous
#2D7221 #21723E #217267
triadic
#21723E #3E2172 #723E21
tetradic
#21723E #212D72 #722155 #726721
square
#21723E #212D72 #722155 #726721
split-complementary
#21723E #672172 #72212D
monochromatic
#07180D #134324 #21723E #2FA158 #44C974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21723E#FFFFFF#000000##FFFFFF
##21723E1.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)
#72683A
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21723e;
/* rgb */ color: rgb(33, 114, 62);
/* oklch */ color: oklch(49.0% 0.113 151.4);
Tailwind
colors: {
  custom: {
    50: '#689b74',
    500: '#21723e',
    950: '#000000',
  },
}
SCSS
$custom: #21723e;
$custom-light: #689b74;
$custom-dark: #000000;
JSON
{
  "hex": "#21723e",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 62
  },
  "hsl": {
    "h": 141.481,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.11293,
    "h": 151.4
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#21723E
secondary
#A54984
accent
#49A9DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723E

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

Preview Lab → · Contrast checker → · Palette generator →

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