#21783A#21783A

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

Color values

HEX#21783A
RGBrgb(33, 120, 58)
HSLhsl(137, 57%, 30%)
HSVhsv(137, 73%, 47%)
CMYKcmyk(72.5%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.32, -39.91, 26.69)
CIE-LCHlch(44.32, 48.01, 146.22°)
OKLaboklab(50.66% -0.1075 0.0648)
OKLCHoklch(50.66% 0.125 148.9)
XYZxyz(8.1068, 14.0609, 6.2889)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21783A #78215F
analogous
#347821 #21783A #217865
triadic
#21783A #3A2178 #783A21
tetradic
#21783A #213478 #78215F #786521
square
#21783A #213478 #78215F #786521
split-complementary
#21783A #652178 #782134
monochromatic
#07180C #144823 #21783A #2EA851 #47CC6D

Accessibility & contrast

On white

5.51
#21783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#21783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21783A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21783A#FFFFFF#000000##FFFFFF
##21783A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21783a;
/* rgb */ color: rgb(33, 120, 58);
/* oklch */ color: oklch(50.7% 0.125 148.9);
Tailwind
colors: {
  custom: {
    50: '#69a071',
    500: '#21783a',
    950: '#000000',
  },
}
SCSS
$custom: #21783a;
$custom-light: #69a071;
$custom-dark: #000000;
JSON
{
  "hex": "#21783a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 137.241,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.12548,
    "h": 148.9
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#21783A
secondary
#AB4A8F
accent
#48B4E0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21783A

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

Preview Lab → · Contrast checker → · Palette generator →

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