#21743F#21743F

#21743F is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.6% C 0.115 H 151.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#21743F
RGBrgb(33, 116, 63)
HSLhsl(142, 56%, 29%)
HSVhsv(142, 72%, 45%)
CMYKcmyk(71.6%, 0%, 45.7%, 54.5%)
CIE-LABlab(43.02, -37.41, 22.28)
CIE-LCHlch(43.02, 43.54, 149.23°)
OKLaboklab(49.61% -0.1008 0.0549)
OKLCHoklch(49.61% 0.115 151.4)
XYZxyz(7.7692, 13.1721, 6.8347)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21743F #742156
analogous
#2C7421 #21743F #217469
triadic
#21743F #3F2174 #743F21
tetradic
#21743F #212C74 #742156 #746921
square
#21743F #212C74 #742156 #746921
split-complementary
#21743F #692174 #74212C
monochromatic
#07180D #134425 #21743F #2FA459 #45CA75

Accessibility & contrast

On white

5.78
#21743F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#21743F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21743F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21743F#FFFFFF#000000##FFFFFF
##21743F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3B
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21743f;
/* rgb */ color: rgb(33, 116, 63);
/* oklch */ color: oklch(49.6% 0.115 151.4);
Tailwind
colors: {
  custom: {
    50: '#689d75',
    500: '#21743f',
    950: '#000000',
  },
}
SCSS
$custom: #21743f;
$custom-light: #689d75;
$custom-dark: #000000;
JSON
{
  "hex": "#21743f",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 63
  },
  "hsl": {
    "h": 141.687,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.11482,
    "h": 151.4
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#21743F
secondary
#A74985
accent
#49A9DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21743F

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

Preview Lab → · Contrast checker → · Palette generator →

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