#21752E#21752E

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

Color values

HEX#21752E
RGBrgb(33, 117, 46)
HSLhsl(129, 56%, 29%)
HSVhsv(129, 72%, 46%)
CMYKcmyk(71.8%, 0%, 60.7%, 54.1%)
CIE-LABlab(43.13, -40.58, 31.56)
CIE-LCHlch(43.13, 51.40, 142.13°)
OKLaboklab(49.62% -0.1096 0.0747)
OKLCHoklch(49.62% 0.133 145.7)
XYZxyz(7.4811, 13.2424, 4.7460)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21752E #752168
analogous
#3E7521 #21752E #217558
triadic
#21752E #2E2175 #752E21
tetradic
#21752E #213E75 #752168 #755821
square
#21752E #213E75 #752168 #755821
split-complementary
#21752E #582175 #75213E
monochromatic
#071809 #14451B #21752E #2EA541 #46CB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21752E#FFFFFF#000000##FFFFFF
##21752E1.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)
#776A27
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#027265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21752e;
/* rgb */ color: rgb(33, 117, 46);
/* oklch */ color: oklch(49.6% 0.133 145.7);
Tailwind
colors: {
  custom: {
    50: '#699e69',
    500: '#21752e',
    950: '#000000',
  },
}
SCSS
$custom: #21752e;
$custom-light: #699e69;
$custom-dark: #000000;
JSON
{
  "hex": "#21752e",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 46
  },
  "hsl": {
    "h": 129.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.13261,
    "h": 145.7
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#21752E
secondary
#A84A9A
accent
#49C8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21752E

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

Preview Lab → · Contrast checker → · Palette generator →

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