#21752F#21752F

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

Color values

HEX#21752F
RGBrgb(33, 117, 47)
HSLhsl(130, 56%, 29%)
HSVhsv(130, 72%, 46%)
CMYKcmyk(71.8%, 0%, 59.8%, 54.1%)
CIE-LABlab(43.14, -40.44, 31.06)
CIE-LCHlch(43.14, 50.99, 142.47°)
OKLaboklab(49.63% -0.1091 0.0737)
OKLCHoklch(49.63% 0.132 146)
XYZxyz(7.5011, 13.2503, 4.8510)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21752F #752167
analogous
#3D7521 #21752F #217559
triadic
#21752F #2F2175 #752F21
tetradic
#21752F #213D75 #752167 #755921
square
#21752F #213D75 #752167 #755921
split-complementary
#21752F #592175 #75213D
monochromatic
#07180A #14451C #21752F #2EA542 #46CB5C

Accessibility & contrast

On white

5.75
#21752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21752F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21752F#FFFFFF#000000##FFFFFF
##21752F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A28
Deuteranopia (green-blind)
#6D6335
Tritanopia (blue-blind)
#017266
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21752f;
/* rgb */ color: rgb(33, 117, 47);
/* oklch */ color: oklch(49.6% 0.132 146.0);
Tailwind
colors: {
  custom: {
    50: '#699e6a',
    500: '#21752f',
    950: '#000000',
  },
}
SCSS
$custom: #21752f;
$custom-light: #699e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21752f",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 130,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.13171,
    "h": 146
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#21752F
secondary
#A84A98
accent
#49C6DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21752F

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

Preview Lab → · Contrast checker → · Palette generator →

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