#21723F#21723F

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

Color values

HEX#21723F
RGBrgb(33, 114, 63)
HSLhsl(142, 55%, 29%)
HSVhsv(142, 71%, 45%)
CMYKcmyk(71.1%, 0%, 44.7%, 55.3%)
CIE-LABlab(42.33, -36.58, 21.38)
CIE-LCHlch(42.33, 42.37, 149.69°)
OKLaboklab(49.04% -0.0986 0.0528)
OKLCHoklch(49.04% 0.112 151.8)
XYZxyz(7.5411, 12.7160, 6.7587)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723F #722154
analogous
#2C7221 #21723F #217268
triadic
#21723F #3F2172 #723F21
tetradic
#21723F #212C72 #722154 #726821
square
#21723F #212C72 #722154 #726821
split-complementary
#21723F #682172 #72212C
monochromatic
#07180D #134325 #21723F #2FA159 #44C976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21723F#FFFFFF#000000##FFFFFF
##21723F1.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)
#72683B
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21723f;
/* rgb */ color: rgb(33, 114, 63);
/* oklch */ color: oklch(49.0% 0.112 151.8);
Tailwind
colors: {
  custom: {
    50: '#689b74',
    500: '#21723f',
    950: '#000000',
  },
}
SCSS
$custom: #21723f;
$custom-light: #689b74;
$custom-dark: #000000;
JSON
{
  "hex": "#21723f",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 63
  },
  "hsl": {
    "h": 142.222,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.11191,
    "h": 151.8
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#21723F
secondary
#A54983
accent
#49A7DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723F

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

Preview Lab → · Contrast checker → · Palette generator →

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