#21784A#21784A

#21784A is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.110 H 155.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#21784A
RGBrgb(33, 120, 74)
HSLhsl(148, 57%, 30%)
HSVhsv(148, 73%, 47%)
CMYKcmyk(72.5%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.59, -36.87, 18.07)
CIE-LCHlch(44.59, 41.06, 153.89°)
OKLaboklab(50.97% -0.0997 0.0453)
OKLCHoklch(50.97% 0.11 155.6)
XYZxyz(8.5789, 14.2497, 8.7756)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784A #78214F
analogous
#237821 #21784A #217876
triadic
#21784A #4A2178 #784A21
tetradic
#21784A #212378 #78214F #787621
square
#21784A #212378 #78214F #787621
split-complementary
#21784A #762178 #782123
monochromatic
#07180F #14482C #21784A #2EA868 #47CC86

Accessibility & contrast

On white

5.45
#21784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#21784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21784A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21784A#FFFFFF#000000##FFFFFF
##21784A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E47
Deuteranopia (green-blind)
#6D664D
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21784a;
/* rgb */ color: rgb(33, 120, 74);
/* oklch */ color: oklch(51.0% 0.110 155.6);
Tailwind
colors: {
  custom: {
    50: '#69a07d',
    500: '#21784a',
    950: '#000000',
  },
}
SCSS
$custom: #21784a;
$custom-light: #69a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#21784a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 148.276,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.10954,
    "h": 155.6
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#21784A
secondary
#AB4A7D
accent
#4898E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #21784A

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

Preview Lab → · Contrast checker → · Palette generator →

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