#21783F#21783F

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

Color values

HEX#21783F
RGBrgb(33, 120, 63)
HSLhsl(141, 57%, 30%)
HSVhsv(141, 73%, 47%)
CMYKcmyk(72.5%, 0%, 47.5%, 52.9%)
CIE-LABlab(44.40, -39.03, 24.04)
CIE-LCHlch(44.40, 45.85, 148.37°)
OKLaboklab(50.74% -0.1051 0.059)
OKLCHoklch(50.74% 0.121 150.7)
XYZxyz(8.2402, 14.1142, 6.9917)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21783F #78215A
analogous
#2E7821 #21783F #21786B
triadic
#21783F #3F2178 #783F21
tetradic
#21783F #212E78 #78215A #786B21
square
#21783F #212E78 #78215A #786B21
split-complementary
#21783F #6B2178 #78212E
monochromatic
#07180D #144826 #21783F #2EA858 #47CC75

Accessibility & contrast

On white

5.49
#21783F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21783F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21783F#FFFFFF#000000##FFFFFF
##21783F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21783f;
/* rgb */ color: rgb(33, 120, 63);
/* oklch */ color: oklch(50.7% 0.121 150.7);
Tailwind
colors: {
  custom: {
    50: '#69a075',
    500: '#21783f',
    950: '#000000',
  },
}
SCSS
$custom: #21783f;
$custom-light: #69a075;
$custom-dark: #000000;
JSON
{
  "hex": "#21783f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 140.69,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.12056,
    "h": 150.7
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#21783F
secondary
#AB4A8A
accent
#48ACE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21783F

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

Preview Lab → · Contrast checker → · Palette generator →

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