#219827#219827

#219827 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.181 H 143.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#219827
RGBrgb(33, 152, 39)
HSLhsl(123, 64%, 36%)
HSVhsv(123, 78%, 60%)
CMYKcmyk(78.3%, 0%, 74.3%, 40.4%)
CIE-LABlab(54.99, -53.65, 47.59)
CIE-LCHlch(54.99, 71.71, 138.43°)
OKLaboklab(59.44% -0.1453 0.1079)
OKLCHoklch(59.44% 0.181 143.4)
XYZxyz(12.2209, 22.9248, 5.6999)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#219827 #982192
analogous
#579821 #219827 #219863
triadic
#219827 #272198 #982721
tetradic
#219827 #215798 #982192 #986321
square
#219827 #215798 #982192 #986321
split-complementary
#219827 #632198 #982157
monochromatic
#0B330D #16661A #219827 #2CCA34 #59DB5F

Accessibility & contrast

On white

3.76
#219827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#219827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #219827
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##219827#FFFFFF#000000##000000
##2198271.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #219827;
/* rgb */ color: rgb(33, 152, 39);
/* oklch */ color: oklch(59.4% 0.181 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b769',
    500: '#219827',
    950: '#000000',
  },
}
SCSS
$custom: #219827;
$custom-light: #72b769;
$custom-dark: #000000;
JSON
{
  "hex": "#219827",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 123.025,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.18101,
    "h": 143.4
  },
  "luminance": 0.22926
}

Semantic roles & 50–950 ramp

primary
#219827
secondary
#BF56BA
accent
#40DFE7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #219827

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

Preview Lab → · Contrast checker → · Palette generator →

#219827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva