#217827#217827

#217827 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.142 H 144.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#217827
RGBrgb(33, 120, 39)
HSLhsl(124, 57%, 30%)
HSVhsv(124, 73%, 47%)
CMYKcmyk(72.5%, 0%, 67.5%, 52.9%)
CIE-LABlab(44.09, -42.58, 36.05)
CIE-LCHlch(44.09, 55.79, 139.75°)
OKLaboklab(50.39% -0.1153 0.0836)
OKLCHoklch(50.39% 0.142 144)
XYZxyz(7.7094, 13.9019, 4.1961)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217827 #782172
analogous
#467821 #217827 #217853
triadic
#217827 #272178 #782721
tetradic
#217827 #214678 #782172 #785321
square
#217827 #214678 #782172 #785321
split-complementary
#217827 #532178 #782146
monochromatic
#071808 #144817 #217827 #2EA837 #47CC50

Accessibility & contrast

On white

5.55
#217827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#217827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217827
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217827#FFFFFF#000000##FFFFFF
##2178271.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1D
Deuteranopia (green-blind)
#70662E
Tritanopia (blue-blind)
#037567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217827;
/* rgb */ color: rgb(33, 120, 39);
/* oklch */ color: oklch(50.4% 0.142 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa065',
    500: '#217827',
    950: '#000000',
  },
}
SCSS
$custom: #217827;
$custom-light: #6aa065;
$custom-dark: #000000;
JSON
{
  "hex": "#217827",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 124.138,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.14244,
    "h": 144
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#217827
secondary
#AB4AA4
accent
#48D6E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217827

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

Preview Lab → · Contrast checker → · Palette generator →

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