#21762D#21762D

#21762D is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.135 H 145.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#21762D
RGBrgb(33, 118, 45)
HSLhsl(128, 56%, 30%)
HSVhsv(128, 72%, 46%)
CMYKcmyk(72%, 0%, 61.9%, 53.7%)
CIE-LABlab(43.46, -41.09, 32.45)
CIE-LCHlch(43.46, 52.36, 141.70°)
OKLaboklab(49.89% -0.111 0.0766)
OKLCHoklch(49.89% 0.135 145.4)
XYZxyz(7.5788, 13.4688, 4.6825)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21762D #76216A
analogous
#3F7621 #21762D #217658
triadic
#21762D #2D2176 #762D21
tetradic
#21762D #213F76 #76216A #765821
square
#21762D #213F76 #76216A #765821
split-complementary
#21762D #582176 #76213F
monochromatic
#071809 #14461B #21762D #2EA63F #46CB59

Accessibility & contrast

On white

5.68
#21762D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#21762D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21762D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21762D#FFFFFF#000000##FFFFFF
##21762D1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B25
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#027366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21762d;
/* rgb */ color: rgb(33, 118, 45);
/* oklch */ color: oklch(49.9% 0.135 145.4);
Tailwind
colors: {
  custom: {
    50: '#699e68',
    500: '#21762d',
    950: '#000000',
  },
}
SCSS
$custom: #21762d;
$custom-light: #699e68;
$custom-dark: #000000;
JSON
{
  "hex": "#21762d",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 128.471,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.13484,
    "h": 145.4
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#21762D
secondary
#A94A9C
accent
#48CAE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21762D

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

Preview Lab → · Contrast checker → · Palette generator →

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