#217B26#217B26

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

Color values

HEX#217B26
RGBrgb(33, 123, 38)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 73%, 48%)
CMYKcmyk(73.2%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.12, -43.79, 37.63)
CIE-LCHlch(45.12, 57.74, 139.32°)
OKLaboklab(51.24% -0.1186 0.0869)
OKLCHoklch(51.24% 0.147 143.8)
XYZxyz(8.0595, 14.6283, 4.2321)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B26 #7B2176
analogous
#497B21 #217B26 #217B53
triadic
#217B26 #26217B #7B2621
tetradic
#217B26 #21497B #7B2176 #7B5321
square
#217B26 #21497B #7B2176 #7B5321
split-complementary
#217B26 #53217B #7B2149
monochromatic
#071A08 #144B17 #217B26 #2EAB35 #48CE50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B26#FFFFFF#000000##FFFFFF
##217B261.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)
#7D6F1B
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#01776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b26;
/* rgb */ color: rgb(33, 123, 38);
/* oklch */ color: oklch(51.2% 0.147 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ba265',
    500: '#217b26',
    950: '#000000',
  },
}
SCSS
$custom: #217b26;
$custom-light: #6ba265;
$custom-dark: #000000;
JSON
{
  "hex": "#217b26",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 123.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.14703,
    "h": 143.8
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#217B26
secondary
#AE4AA8
accent
#47D8E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B26

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

Preview Lab → · Contrast checker → · Palette generator →

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