#217E25#217E25

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

Color values

HEX#217E25
RGBrgb(33, 126, 37)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 74%, 49%)
CMYKcmyk(73.8%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.15, -44.97, 39.18)
CIE-LCHlch(46.15, 59.64, 138.94°)
OKLaboklab(52.09% -0.1219 0.09)
OKLCHoklch(52.09% 0.152 143.6)
XYZxyz(8.4215, 15.3777, 4.2743)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E25 #7E217A
analogous
#4B7E21 #217E25 #217E53
triadic
#217E25 #25217E #7E2521
tetradic
#217E25 #214B7E #7E217A #7E5321
square
#217E25 #214B7E #7E217A #7E5321
split-complementary
#217E25 #53217E #7E214B
monochromatic
#081D09 #144E17 #217E25 #2EAE33 #4AD050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E25#FFFFFF#000000##FFFFFF
##217E251.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)
#817218
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e25;
/* rgb */ color: rgb(33, 126, 37);
/* oklch */ color: oklch(52.1% 0.152 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca464',
    500: '#217e25',
    950: '#000000',
  },
}
SCSS
$custom: #217e25;
$custom-light: #6ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#217e25",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 122.581,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.15152,
    "h": 143.6
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#217E25
secondary
#B14AAC
accent
#46DBE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E25

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

Preview Lab → · Contrast checker → · Palette generator →

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