#21723B#21723B

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

Color values

HEX#21723B
RGBrgb(33, 114, 59)
HSLhsl(139, 55%, 29%)
HSVhsv(139, 71%, 45%)
CMYKcmyk(71.1%, 0%, 48.2%, 55.3%)
CIE-LABlab(42.27, -37.33, 23.55)
CIE-LCHlch(42.27, 44.14, 147.75°)
OKLaboklab(48.97% -0.1006 0.0577)
OKLCHoklch(48.97% 0.116 150.2)
XYZxyz(7.4333, 12.6729, 6.1912)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21723B #722158
analogous
#307221 #21723B #217264
triadic
#21723B #3B2172 #723B21
tetradic
#21723B #213072 #722158 #726421
square
#21723B #213072 #722158 #726421
split-complementary
#21723B #642172 #722130
monochromatic
#07180C #134322 #21723B #2FA154 #44C96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21723B#FFFFFF#000000##FFFFFF
##21723B1.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)
#736837
Deuteranopia (green-blind)
#69613F
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21723b;
/* rgb */ color: rgb(33, 114, 59);
/* oklch */ color: oklch(49.0% 0.116 150.2);
Tailwind
colors: {
  custom: {
    50: '#689b72',
    500: '#21723b',
    950: '#000000',
  },
}
SCSS
$custom: #21723b;
$custom-light: #689b72;
$custom-dark: #000000;
JSON
{
  "hex": "#21723b",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 59
  },
  "hsl": {
    "h": 139.259,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.11596,
    "h": 150.2
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#21723B
secondary
#A54988
accent
#49AFDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21723B

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

Preview Lab → · Contrast checker → · Palette generator →

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