#217E28#217E28

#217E28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.149 H 144.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#217E28
RGBrgb(33, 126, 40)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 74%, 49%)
CMYKcmyk(73.8%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.17, -44.65, 37.88)
CIE-LCHlch(46.17, 58.56, 139.69°)
OKLaboklab(52.12% -0.1209 0.0876)
OKLCHoklch(52.12% 0.149 144.1)
XYZxyz(8.4705, 15.3973, 4.5326)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E28 #7E2177
analogous
#487E21 #217E28 #217E56
triadic
#217E28 #28217E #7E2821
tetradic
#217E28 #21487E #7E2177 #7E5621
square
#217E28 #21487E #7E2177 #7E5621
split-complementary
#217E28 #56217E #7E2148
monochromatic
#081D09 #144E19 #217E28 #2EAE37 #4AD054

Accessibility & contrast

On white

5.15
#217E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#217E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E28
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E28#FFFFFF#000000##FFFFFF
##217E281.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e28;
/* rgb */ color: rgb(33, 126, 40);
/* oklch */ color: oklch(52.1% 0.149 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ba466',
    500: '#217e28',
    950: '#000000',
  },
}
SCSS
$custom: #217e28;
$custom-light: #6ba466;
$custom-dark: #000000;
JSON
{
  "hex": "#217e28",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 124.516,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.14929,
    "h": 144.1
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#217E28
secondary
#B14AA9
accent
#46D6E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E28

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

Preview Lab → · Contrast checker → · Palette generator →

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