#21784C#21784C

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

Color values

HEX#21784C
RGBrgb(33, 120, 76)
HSLhsl(150, 57%, 30%)
HSVhsv(150, 73%, 47%)
CMYKcmyk(72.5%, 0%, 36.7%, 52.9%)
CIE-LABlab(44.63, -36.45, 16.97)
CIE-LCHlch(44.63, 40.20, 155.03°)
OKLaboklab(51.01% -0.0987 0.0427)
OKLCHoklch(51.01% 0.108 156.6)
XYZxyz(8.6474, 14.2771, 9.1361)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784C #78214D
analogous
#227821 #21784C #217877
triadic
#21784C #4C2178 #784C21
tetradic
#21784C #212278 #78214D #787721
square
#21784C #212278 #78214D #787721
split-complementary
#21784C #772178 #782122
monochromatic
#07180F #14482E #21784C #2EA86A #47CC89

Accessibility & contrast

On white

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

On black

3.86
#21784C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21784C#FFFFFF#000000##FFFFFF
##21784C1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E49
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21784c;
/* rgb */ color: rgb(33, 120, 76);
/* oklch */ color: oklch(51.0% 0.108 156.6);
Tailwind
colors: {
  custom: {
    50: '#69a07e',
    500: '#21784c',
    950: '#000000',
  },
}
SCSS
$custom: #21784c;
$custom-light: #69a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#21784c",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 149.655,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.10756,
    "h": 156.6
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#21784C
secondary
#AB4A7B
accent
#4895E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21784C

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

Preview Lab → · Contrast checker → · Palette generator →

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