#217E26#217E26

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

Color values

HEX#217E26
RGBrgb(33, 126, 38)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 74%, 49%)
CMYKcmyk(73.8%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.16, -44.87, 38.75)
CIE-LCHlch(46.16, 59.29, 139.18°)
OKLaboklab(52.1% -0.1215 0.0892)
OKLCHoklch(52.1% 0.151 143.7)
XYZxyz(8.4374, 15.3840, 4.3581)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E26 #7E2179
analogous
#4A7E21 #217E26 #217E54
triadic
#217E26 #26217E #7E2621
tetradic
#217E26 #214A7E #7E2179 #7E5421
square
#217E26 #214A7E #7E2179 #7E5421
split-complementary
#217E26 #54217E #7E214A
monochromatic
#081D09 #144E17 #217E26 #2EAE35 #4AD051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E26#FFFFFF#000000##FFFFFF
##217E261.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)
#81721A
Deuteranopia (green-blind)
#766A2E
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e26;
/* rgb */ color: rgb(33, 126, 38);
/* oklch */ color: oklch(52.1% 0.151 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca465',
    500: '#217e26',
    950: '#000000',
  },
}
SCSS
$custom: #217e26;
$custom-light: #6ca465;
$custom-dark: #000000;
JSON
{
  "hex": "#217e26",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 123.226,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.15079,
    "h": 143.7
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#217E26
secondary
#B14AAB
accent
#46D9E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E26

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

Preview Lab → · Contrast checker → · Palette generator →

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