#21782E#21782E

#21782E is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.137 H 145.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#21782E
RGBrgb(33, 120, 46)
HSLhsl(129, 57%, 30%)
HSVhsv(129, 73%, 47%)
CMYKcmyk(72.5%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.16, -41.71, 32.77)
CIE-LCHlch(44.16, 53.04, 141.85°)
OKLaboklab(50.48% -0.1126 0.0773)
OKLCHoklch(50.48% 0.137 145.5)
XYZxyz(7.8363, 13.9527, 4.8644)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21782E #78216B
analogous
#3F7821 #21782E #21785A
triadic
#21782E #2E2178 #782E21
tetradic
#21782E #213F78 #78216B #785A21
square
#21782E #213F78 #78216B #785A21
split-complementary
#21782E #5A2178 #78213F
monochromatic
#071809 #14481C #21782E #2EA840 #47CC5B

Accessibility & contrast

On white

5.54
#21782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#21782E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21782E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21782E#FFFFFF#000000##FFFFFF
##21782E1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21782e;
/* rgb */ color: rgb(33, 120, 46);
/* oklch */ color: oklch(50.5% 0.137 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa069',
    500: '#21782e',
    950: '#000000',
  },
}
SCSS
$custom: #21782e;
$custom-light: #6aa069;
$custom-dark: #000000;
JSON
{
  "hex": "#21782e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 128.966,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.13663,
    "h": 145.5
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#21782E
secondary
#AB4A9D
accent
#48C9E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21782E

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

Preview Lab → · Contrast checker → · Palette generator →

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