#217F29#217F29

#217F29 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.150 H 144.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217F29
RGBrgb(33, 127, 41)
HSLhsl(125, 59%, 31%)
HSVhsv(125, 74%, 50%)
CMYKcmyk(74%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.53, -44.90, 37.82)
CIE-LCHlch(46.53, 58.70, 139.90°)
OKLaboklab(52.42% -0.1215 0.0876)
OKLCHoklch(52.42% 0.15 144.2)
XYZxyz(8.6162, 15.6612, 4.6662)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F29 #7F2177
analogous
#487F21 #217F29 #217F58
triadic
#217F29 #29217F #7F2921
tetradic
#217F29 #21487F #7F2177 #7F5821
square
#217F29 #21487F #7F2177 #7F5821
split-complementary
#217F29 #58217F #7F2148
monochromatic
#081E0A #144E19 #217F29 #2EB039 #4AD056

Accessibility & contrast

On white

5.08
#217F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F29
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F29#FFFFFF#000000##FFFFFF
##217F291.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f29;
/* rgb */ color: rgb(33, 127, 41);
/* oklch */ color: oklch(52.4% 0.150 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ca567',
    500: '#217f29',
    950: '#000000',
  },
}
SCSS
$custom: #217f29;
$custom-light: #6ca567;
$custom-dark: #000000;
JSON
{
  "hex": "#217f29",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 125.106,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.14979,
    "h": 144.2
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#217F29
secondary
#B24AA9
accent
#46D5E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217F29

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

Preview Lab → · Contrast checker → · Palette generator →

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