#217D25#217D25

#217D25 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.150 H 143.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217D25
RGBrgb(33, 125, 37)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 74%, 49%)
CMYKcmyk(73.6%, 0%, 70.4%, 51%)
CIE-LABlab(45.80, -44.61, 38.81)
CIE-LCHlch(45.80, 59.13, 138.98°)
OKLaboklab(51.81% -0.1209 0.0892)
OKLCHoklch(51.81% 0.15 143.6)
XYZxyz(8.2942, 15.1232, 4.2319)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D25 #7D2179
analogous
#4B7D21 #217D25 #217D53
triadic
#217D25 #25217D #7D2521
tetradic
#217D25 #214B7D #7D2179 #7D5321
square
#217D25 #214B7D #7D2179 #7D5321
split-complementary
#217D25 #53217D #7D214B
monochromatic
#071C08 #144D17 #217D25 #2EAD33 #49CF4F

Accessibility & contrast

On white

5.22
#217D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D25
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D25#FFFFFF#000000##FFFFFF
##217D251.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d25;
/* rgb */ color: rgb(33, 125, 37);
/* oklch */ color: oklch(51.8% 0.150 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ba464',
    500: '#217d25',
    950: '#000000',
  },
}
SCSS
$custom: #217d25;
$custom-light: #6ba464;
$custom-dark: #000000;
JSON
{
  "hex": "#217d25",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 122.609,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.15028,
    "h": 143.6
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#217D25
secondary
#B04AAB
accent
#46DBE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D25

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

Preview Lab → · Contrast checker → · Palette generator →

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