#217B28#217B28

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

Color values

HEX#217B28
RGBrgb(33, 123, 40)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 73%, 48%)
CMYKcmyk(73.2%, 0%, 67.5%, 51.8%)
CIE-LABlab(45.14, -43.57, 36.75)
CIE-LCHlch(45.14, 56.99, 139.85°)
OKLaboklab(51.27% -0.1179 0.0852)
OKLCHoklch(51.27% 0.146 144.1)
XYZxyz(8.0926, 14.6416, 4.4067)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B28 #7B2174
analogous
#477B21 #217B28 #217B55
triadic
#217B28 #28217B #7B2821
tetradic
#217B28 #21477B #7B2174 #7B5521
square
#217B28 #21477B #7B2174 #7B5521
split-complementary
#217B28 #55217B #7B2147
monochromatic
#071A09 #144B18 #217B28 #2EAB38 #48CE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B28#FFFFFF#000000##FFFFFF
##217B281.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)
#7D6F1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b28;
/* rgb */ color: rgb(33, 123, 40);
/* oklch */ color: oklch(51.3% 0.145 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ba266',
    500: '#217b28',
    950: '#000000',
  },
}
SCSS
$custom: #217b28;
$custom-light: #6ba266;
$custom-dark: #000000;
JSON
{
  "hex": "#217b28",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 124.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.1455,
    "h": 144.1
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#217B28
secondary
#AE4AA6
accent
#47D5E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B28

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

Preview Lab → · Contrast checker → · Palette generator →

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