#21783E#21783E

#21783E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.122 H 150.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#21783E
RGBrgb(33, 120, 62)
HSLhsl(140, 57%, 30%)
HSVhsv(140, 73%, 47%)
CMYKcmyk(72.5%, 0%, 48.3%, 52.9%)
CIE-LABlab(44.38, -39.22, 24.58)
CIE-LCHlch(44.38, 46.28, 147.92°)
OKLaboklab(50.73% -0.1056 0.0602)
OKLCHoklch(50.73% 0.122 150.3)
XYZxyz(8.2125, 14.1032, 6.8459)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21783E #78215B
analogous
#2F7821 #21783E #21786A
triadic
#21783E #3E2178 #783E21
tetradic
#21783E #212F78 #78215B #786A21
square
#21783E #212F78 #78215B #786A21
split-complementary
#21783E #6A2178 #78212F
monochromatic
#07180C #144825 #21783E #2EA857 #47CC73

Accessibility & contrast

On white

5.50
#21783E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#21783E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21783E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21783E#FFFFFF#000000##FFFFFF
##21783E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D39
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21783e;
/* rgb */ color: rgb(33, 120, 62);
/* oklch */ color: oklch(50.7% 0.122 150.3);
Tailwind
colors: {
  custom: {
    50: '#69a074',
    500: '#21783e',
    950: '#000000',
  },
}
SCSS
$custom: #21783e;
$custom-light: #69a074;
$custom-dark: #000000;
JSON
{
  "hex": "#21783e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 140,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.12155,
    "h": 150.3
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#21783E
secondary
#AB4A8B
accent
#48ADE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21783E

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

Preview Lab → · Contrast checker → · Palette generator →

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