#217C29#217C29

#217C29 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.146 H 144.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#217C29
RGBrgb(33, 124, 41)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 73%, 49%)
CMYKcmyk(73.4%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.49, -43.82, 36.68)
CIE-LCHlch(45.49, 57.14, 140.07°)
OKLaboklab(51.56% -0.1186 0.0852)
OKLCHoklch(51.56% 0.146 144.3)
XYZxyz(8.2346, 14.8978, 4.5390)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C29 #7C2174
analogous
#467C21 #217C29 #217C56
triadic
#217C29 #29217C #7C2921
tetradic
#217C29 #21467C #7C2174 #7C5621
square
#217C29 #21467C #7C2174 #7C5621
split-complementary
#217C29 #56217C #7C2146
monochromatic
#071B09 #144C19 #217C29 #2EAC39 #49CF55

Accessibility & contrast

On white

5.28
#217C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#217C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C29
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C29#FFFFFF#000000##FFFFFF
##217C291.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c29;
/* rgb */ color: rgb(33, 124, 41);
/* oklch */ color: oklch(51.6% 0.146 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba367',
    500: '#217c29',
    950: '#000000',
  },
}
SCSS
$custom: #217c29;
$custom-light: #6ba367;
$custom-dark: #000000;
JSON
{
  "hex": "#217c29",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 125.275,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.146,
    "h": 144.3
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#217C29
secondary
#AF4AA6
accent
#47D4E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217C29

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

Preview Lab → · Contrast checker → · Palette generator →

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