#21752A#21752A

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

Color values

HEX#21752A
RGBrgb(33, 117, 42)
HSLhsl(126, 56%, 29%)
HSVhsv(126, 72%, 46%)
CMYKcmyk(71.8%, 0%, 64.1%, 54.1%)
CIE-LABlab(43.08, -41.10, 33.49)
CIE-LCHlch(43.08, 53.02, 140.82°)
OKLaboklab(49.57% -0.1112 0.0785)
OKLCHoklch(49.57% 0.136 144.8)
XYZxyz(7.4059, 13.2123, 4.3500)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21752A #75216C
analogous
#427521 #21752A #217554
triadic
#21752A #2A2175 #752A21
tetradic
#21752A #214275 #75216C #755421
square
#21752A #214275 #75216C #755421
split-complementary
#21752A #542175 #752142
monochromatic
#071809 #144519 #21752A #2EA53B #46CB54

Accessibility & contrast

On white

5.77
#21752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#21752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21752A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21752A#FFFFFF#000000##FFFFFF
##21752A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A22
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#047265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21752a;
/* rgb */ color: rgb(33, 117, 42);
/* oklch */ color: oklch(49.6% 0.136 144.8);
Tailwind
colors: {
  custom: {
    50: '#699e66',
    500: '#21752a',
    950: '#000000',
  },
}
SCSS
$custom: #21752a;
$custom-light: #699e66;
$custom-dark: #000000;
JSON
{
  "hex": "#21752a",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 126.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.13609,
    "h": 144.8
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#21752A
secondary
#A84A9E
accent
#49CFDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21752A

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

Preview Lab → · Contrast checker → · Palette generator →

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