#21723C#21723C

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

Color values

HEX#21723C
RGBrgb(33, 114, 60)
HSLhsl(140, 55%, 29%)
HSVhsv(140, 71%, 45%)
CMYKcmyk(71.1%, 0%, 47.4%, 55.3%)
CIE-LABlab(42.28, -37.14, 23.01)
CIE-LCHlch(42.28, 43.70, 148.22°)
OKLaboklab(48.98% -0.1001 0.0565)
OKLCHoklch(48.98% 0.115 150.6)
XYZxyz(7.4595, 12.6834, 6.3291)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723C #722157
analogous
#2F7221 #21723C #217265
triadic
#21723C #3C2172 #723C21
tetradic
#21723C #212F72 #722157 #726521
square
#21723C #212F72 #722157 #726521
split-complementary
#21723C #652172 #72212F
monochromatic
#07180C #134323 #21723C #2FA155 #44C971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21723C#FFFFFF#000000##FFFFFF
##21723C1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21723c;
/* rgb */ color: rgb(33, 114, 60);
/* oklch */ color: oklch(49.0% 0.115 150.6);
Tailwind
colors: {
  custom: {
    50: '#689b72',
    500: '#21723c',
    950: '#000000',
  },
}
SCSS
$custom: #21723c;
$custom-light: #689b72;
$custom-dark: #000000;
JSON
{
  "hex": "#21723c",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 60
  },
  "hsl": {
    "h": 140,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.11495,
    "h": 150.6
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#21723C
secondary
#A54987
accent
#49ADDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723C

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

Preview Lab → · Contrast checker → · Palette generator →

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