#217F27#217F27

#217F27 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.151 H 143.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217F27
RGBrgb(33, 127, 39)
HSLhsl(124, 59%, 31%)
HSVhsv(124, 74%, 50%)
CMYKcmyk(74%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.51, -45.12, 38.69)
CIE-LCHlch(46.51, 59.44, 139.39°)
OKLaboklab(52.4% -0.1222 0.0892)
OKLCHoklch(52.4% 0.151 143.9)
XYZxyz(8.5822, 15.6476, 4.4871)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F27 #7F2179
analogous
#4A7F21 #217F27 #217F56
triadic
#217F27 #27217F #7F2721
tetradic
#217F27 #214A7F #7F2179 #7F5621
square
#217F27 #214A7F #7F2179 #7F5621
split-complementary
#217F27 #56217F #7F214A
monochromatic
#081E09 #144E18 #217F27 #2EB036 #4AD053

Accessibility & contrast

On white

5.08
#217F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F27#FFFFFF#000000##FFFFFF
##217F271.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f27;
/* rgb */ color: rgb(33, 127, 39);
/* oklch */ color: oklch(52.4% 0.151 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca566',
    500: '#217f27',
    950: '#000000',
  },
}
SCSS
$custom: #217f27;
$custom-light: #6ca566;
$custom-dark: #000000;
JSON
{
  "hex": "#217f27",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 123.83,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.1513,
    "h": 143.9
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#217F27
secondary
#B24AAB
accent
#46D8E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217F27

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

Preview Lab → · Contrast checker → · Palette generator →

#217F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva