#217F26#217F26

#217F26 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.152 H 143.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#217F26
RGBrgb(33, 127, 38)
HSLhsl(123, 59%, 31%)
HSVhsv(123, 74%, 50%)
CMYKcmyk(74%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.50, -45.22, 39.12)
CIE-LCHlch(46.50, 59.80, 139.14°)
OKLaboklab(52.39% -0.1225 0.09)
OKLCHoklch(52.39% 0.152 143.7)
XYZxyz(8.5659, 15.6411, 4.4009)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F26 #7F217A
analogous
#4B7F21 #217F26 #217F55
triadic
#217F26 #26217F #7F2621
tetradic
#217F26 #214B7F #7F217A #7F5521
square
#217F26 #214B7F #7F217A #7F5521
split-complementary
#217F26 #55217F #7F214B
monochromatic
#081E09 #144E17 #217F26 #2EB035 #4AD051

Accessibility & contrast

On white

5.09
#217F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F26#FFFFFF#000000##FFFFFF
##217F261.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#776B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f26;
/* rgb */ color: rgb(33, 127, 38);
/* oklch */ color: oklch(52.4% 0.152 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca565',
    500: '#217f26',
    950: '#000000',
  },
}
SCSS
$custom: #217f26;
$custom-light: #6ca565;
$custom-dark: #000000;
JSON
{
  "hex": "#217f26",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 123.191,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.15203,
    "h": 143.7
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#217F26
secondary
#B24AAC
accent
#46DAE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217F26

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

Preview Lab → · Contrast checker → · Palette generator →

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