#21752D#21752D

#21752D is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.133 H 145.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#21752D
RGBrgb(33, 117, 45)
HSLhsl(129, 56%, 29%)
HSVhsv(129, 72%, 46%)
CMYKcmyk(71.8%, 0%, 61.5%, 54.1%)
CIE-LABlab(43.11, -40.71, 32.05)
CIE-LCHlch(43.11, 51.81, 141.79°)
OKLaboklab(49.61% -0.11 0.0757)
OKLCHoklch(49.61% 0.133 145.5)
XYZxyz(7.4616, 13.2346, 4.6434)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21752D #752169
analogous
#3F7521 #21752D #217557
triadic
#21752D #2D2175 #752D21
tetradic
#21752D #213F75 #752169 #755721
square
#21752D #213F75 #752169 #755721
split-complementary
#21752D #572175 #75213F
monochromatic
#071809 #14451B #21752D #2EA53F #46CB59

Accessibility & contrast

On white

5.76
#21752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#21752D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21752D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21752D#FFFFFF#000000##FFFFFF
##21752D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#027265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21752d;
/* rgb */ color: rgb(33, 117, 45);
/* oklch */ color: oklch(49.6% 0.133 145.5);
Tailwind
colors: {
  custom: {
    50: '#699e68',
    500: '#21752d',
    950: '#000000',
  },
}
SCSS
$custom: #21752d;
$custom-light: #699e68;
$custom-dark: #000000;
JSON
{
  "hex": "#21752d",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 128.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.13349,
    "h": 145.5
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#21752D
secondary
#A84A9B
accent
#49CADF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21752D

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

Preview Lab → · Contrast checker → · Palette generator →

#21752D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva