#21784B#21784B

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

Color values

HEX#21784B
RGBrgb(33, 120, 75)
HSLhsl(149, 57%, 30%)
HSVhsv(149, 73%, 47%)
CMYKcmyk(72.5%, 0%, 37.5%, 52.9%)
CIE-LABlab(44.61, -36.66, 17.52)
CIE-LCHlch(44.61, 40.63, 154.45°)
OKLaboklab(50.99% -0.0992 0.044)
OKLCHoklch(50.99% 0.109 156.1)
XYZxyz(8.6129, 14.2633, 8.9544)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784B #78214E
analogous
#227821 #21784B #217877
triadic
#21784B #4B2178 #784B21
tetradic
#21784B #212278 #78214E #787721
square
#21784B #212278 #78214E #787721
split-complementary
#21784B #772178 #782122
monochromatic
#07180F #14482D #21784B #2EA869 #47CC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21784B#FFFFFF#000000##FFFFFF
##21784B1.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)
#776E48
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21784b;
/* rgb */ color: rgb(33, 120, 75);
/* oklch */ color: oklch(51.0% 0.109 156.1);
Tailwind
colors: {
  custom: {
    50: '#69a07d',
    500: '#21784b',
    950: '#000000',
  },
}
SCSS
$custom: #21784b;
$custom-light: #69a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#21784b",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 148.966,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.10854,
    "h": 156.1
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#21784B
secondary
#AB4A7C
accent
#4897E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #21784B

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

Preview Lab → · Contrast checker → · Palette generator →

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