#21783D#21783D

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

Color values

HEX#21783D
RGBrgb(33, 120, 61)
HSLhsl(139, 57%, 30%)
HSVhsv(139, 73%, 47%)
CMYKcmyk(72.5%, 0%, 49.2%, 52.9%)
CIE-LABlab(44.37, -39.39, 25.11)
CIE-LCHlch(44.37, 46.71, 147.49°)
OKLaboklab(50.71% -0.1061 0.0613)
OKLCHoklch(50.71% 0.123 150)
XYZxyz(8.1853, 14.0923, 6.7027)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21783D #78215C
analogous
#317821 #21783D #217868
triadic
#21783D #3D2178 #783D21
tetradic
#21783D #213178 #78215C #786821
square
#21783D #213178 #78215C #786821
split-complementary
#21783D #682178 #782131
monochromatic
#07180C #144825 #21783D #2EA855 #47CC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21783D#FFFFFF#000000##FFFFFF
##21783D1.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)
#796D38
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21783d;
/* rgb */ color: rgb(33, 120, 61);
/* oklch */ color: oklch(50.7% 0.123 150.0);
Tailwind
colors: {
  custom: {
    50: '#69a073',
    500: '#21783d',
    950: '#000000',
  },
}
SCSS
$custom: #21783d;
$custom-light: #69a073;
$custom-dark: #000000;
JSON
{
  "hex": "#21783d",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 139.31,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.12254,
    "h": 150
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#21783D
secondary
#AB4A8C
accent
#48AFE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21783D

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

Preview Lab → · Contrast checker → · Palette generator →

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