#217B29#217B29

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

Color values

HEX#217B29
RGBrgb(33, 123, 41)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 73%, 48%)
CMYKcmyk(73.2%, 0%, 66.7%, 51.8%)
CIE-LABlab(45.15, -43.45, 36.29)
CIE-LCHlch(45.15, 56.62, 140.13°)
OKLaboklab(51.28% -0.1176 0.0844)
OKLCHoklch(51.28% 0.145 144.3)
XYZxyz(8.1099, 14.6485, 4.4974)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B29 #7B2173
analogous
#467B21 #217B29 #217B56
triadic
#217B29 #29217B #7B2921
tetradic
#217B29 #21467B #7B2173 #7B5621
square
#217B29 #21467B #7B2173 #7B5621
split-complementary
#217B29 #56217B #7B2146
monochromatic
#071A09 #144B19 #217B29 #2EAB39 #48CE54

Accessibility & contrast

On white

5.34
#217B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#217B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B29
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B29#FFFFFF#000000##FFFFFF
##217B291.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b29;
/* rgb */ color: rgb(33, 123, 41);
/* oklch */ color: oklch(51.3% 0.145 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba266',
    500: '#217b29',
    950: '#000000',
  },
}
SCSS
$custom: #217b29;
$custom-light: #6ba266;
$custom-dark: #000000;
JSON
{
  "hex": "#217b29",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 125.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.14472,
    "h": 144.3
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#217B29
secondary
#AE4AA5
accent
#47D3E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B29

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

Preview Lab → · Contrast checker → · Palette generator →

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