#217A25#217A25

#217A25 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.147 H 143.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217A25
RGBrgb(33, 122, 37)
HSLhsl(123, 57%, 30%)
HSVhsv(123, 73%, 48%)
CMYKcmyk(73%, 0%, 69.7%, 52.2%)
CIE-LABlab(44.77, -43.53, 37.69)
CIE-LCHlch(44.77, 57.58, 139.11°)
OKLaboklab(50.95% -0.118 0.0869)
OKLCHoklch(50.95% 0.147 143.6)
XYZxyz(7.9202, 14.3751, 4.1072)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A25 #7A2176
analogous
#497A21 #217A25 #217A52
triadic
#217A25 #25217A #7A2521
tetradic
#217A25 #21497A #7A2176 #7A5221
square
#217A25 #21497A #7A2176 #7A5221
split-complementary
#217A25 #52217A #7A2149
monochromatic
#071A08 #144A16 #217A25 #2EAA34 #48CD4E

Accessibility & contrast

On white

5.42
#217A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#217A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A25
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A25#FFFFFF#000000##FFFFFF
##217A251.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1A
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#037669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a25;
/* rgb */ color: rgb(33, 122, 37);
/* oklch */ color: oklch(50.9% 0.147 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ba164',
    500: '#217a25',
    950: '#000000',
  },
}
SCSS
$custom: #217a25;
$custom-light: #6ba164;
$custom-dark: #000000;
JSON
{
  "hex": "#217a25",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 122.697,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.14652,
    "h": 143.6
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#217A25
secondary
#AD4AA9
accent
#47DAE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A25

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

Preview Lab → · Contrast checker → · Palette generator →

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