#21752B#21752B

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

Color values

HEX#21752B
RGBrgb(33, 117, 43)
HSLhsl(127, 56%, 29%)
HSVhsv(127, 72%, 46%)
CMYKcmyk(71.8%, 0%, 63.2%, 54.1%)
CIE-LABlab(43.09, -40.98, 33.02)
CIE-LCHlch(43.09, 52.62, 141.14°)
OKLaboklab(49.58% -0.1108 0.0776)
OKLCHoklch(49.58% 0.135 145)
XYZxyz(7.4240, 13.2195, 4.4454)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21752B #75216B
analogous
#417521 #21752B #217555
triadic
#21752B #2B2175 #752B21
tetradic
#21752B #214175 #75216B #755521
square
#21752B #214175 #75216B #755521
split-complementary
#21752B #552175 #752141
monochromatic
#071809 #144519 #21752B #2EA53D #46CB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21752B#FFFFFF#000000##FFFFFF
##21752B1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21752b;
/* rgb */ color: rgb(33, 117, 43);
/* oklch */ color: oklch(49.6% 0.135 145.0);
Tailwind
colors: {
  custom: {
    50: '#699e67',
    500: '#21752b',
    950: '#000000',
  },
}
SCSS
$custom: #21752b;
$custom-light: #699e67;
$custom-dark: #000000;
JSON
{
  "hex": "#21752b",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 127.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.13524,
    "h": 145
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#21752B
secondary
#A84A9D
accent
#49CDDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21752B

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

Preview Lab → · Contrast checker → · Palette generator →

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