#217B27#217B27

#217B27 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.146 H 144.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#217B27
RGBrgb(33, 123, 39)
HSLhsl(124, 58%, 31%)
HSVhsv(124, 73%, 48%)
CMYKcmyk(73.2%, 0%, 68.3%, 51.8%)
CIE-LABlab(45.13, -43.68, 37.19)
CIE-LCHlch(45.13, 57.37, 139.59°)
OKLaboklab(51.25% -0.1183 0.0861)
OKLCHoklch(51.25% 0.146 144)
XYZxyz(8.0759, 14.6348, 4.3183)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B27 #7B2175
analogous
#487B21 #217B27 #217B54
triadic
#217B27 #27217B #7B2721
tetradic
#217B27 #21487B #7B2175 #7B5421
square
#217B27 #21487B #7B2175 #7B5421
split-complementary
#217B27 #54217B #7B2148
monochromatic
#071A08 #144B18 #217B27 #2EAB36 #48CE51

Accessibility & contrast

On white

5.35
#217B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#217B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B27
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B27#FFFFFF#000000##FFFFFF
##217B271.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#01786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b27;
/* rgb */ color: rgb(33, 123, 39);
/* oklch */ color: oklch(51.3% 0.146 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ba265',
    500: '#217b27',
    950: '#000000',
  },
}
SCSS
$custom: #217b27;
$custom-light: #6ba265;
$custom-dark: #000000;
JSON
{
  "hex": "#217b27",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 124,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.14628,
    "h": 144
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#217B27
secondary
#AE4AA7
accent
#47D7E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B27

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

Preview Lab → · Contrast checker → · Palette generator →

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