#21723A#21723A

#21723A is a mid, moderate green. Relative luminance 0.127; OKLCH L 48.9% C 0.117 H 149.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#21723A
RGBrgb(33, 114, 58)
HSLhsl(139, 55%, 29%)
HSVhsv(139, 71%, 45%)
CMYKcmyk(71.1%, 0%, 49.1%, 55.3%)
CIE-LABlab(42.25, -37.50, 24.09)
CIE-LCHlch(42.25, 44.57, 147.29°)
OKLaboklab(48.95% -0.1011 0.0589)
OKLCHoklch(48.95% 0.117 149.8)
XYZxyz(7.4077, 12.6626, 6.0559)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723A #722159
analogous
#317221 #21723A #217263
triadic
#21723A #3A2172 #723A21
tetradic
#21723A #213172 #722159 #726321
square
#21723A #213172 #722159 #726321
split-complementary
#21723A #632172 #722131
monochromatic
#07180C #134322 #21723A #2FA152 #44C96D

Accessibility & contrast

On white

5.94
#21723A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#21723A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21723A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21723A#FFFFFF#000000##FFFFFF
##21723A1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736836
Deuteranopia (green-blind)
#69613E
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21723a;
/* rgb */ color: rgb(33, 114, 58);
/* oklch */ color: oklch(48.9% 0.117 149.8);
Tailwind
colors: {
  custom: {
    50: '#689b71',
    500: '#21723a',
    950: '#000000',
  },
}
SCSS
$custom: #21723a;
$custom-light: #689b71;
$custom-dark: #000000;
JSON
{
  "hex": "#21723a",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 58
  },
  "hsl": {
    "h": 138.519,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.11697,
    "h": 149.8
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#21723A
secondary
#A54989
accent
#49B0DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723A

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

Preview Lab → · Contrast checker → · Palette generator →

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