#217F43#217F43

#217F43 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.126 H 151.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#217F43
RGBrgb(33, 127, 67)
HSLhsl(142, 59%, 31%)
HSVhsv(142, 74%, 50%)
CMYKcmyk(74%, 0%, 47.2%, 50.2%)
CIE-LABlab(46.85, -41.10, 24.97)
CIE-LCHlch(46.85, 48.09, 148.72°)
OKLaboklab(52.79% -0.1106 0.0613)
OKLCHoklch(52.79% 0.126 151)
XYZxyz(9.2289, 15.9063, 7.8929)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F43 #7F215D
analogous
#2E7F21 #217F43 #217F72
triadic
#217F43 #43217F #7F4321
tetradic
#217F43 #212E7F #7F215D #7F7221
square
#217F43 #212E7F #7F215D #7F7221
split-complementary
#217F43 #72217F #7F212E
monochromatic
#081E10 #144E29 #217F43 #2EB05D #4AD07B

Accessibility & contrast

On white

5.02
#217F43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#217F43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F43
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F43#FFFFFF#000000##FFFFFF
##217F431.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743E
Deuteranopia (green-blind)
#746C47
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f43;
/* rgb */ color: rgb(33, 127, 67);
/* oklch */ color: oklch(52.8% 0.126 151.0);
Tailwind
colors: {
  custom: {
    50: '#6ba578',
    500: '#217f43',
    950: '#000000',
  },
}
SCSS
$custom: #217f43;
$custom-light: #6ba578;
$custom-dark: #000000;
JSON
{
  "hex": "#217f43",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 67
  },
  "hsl": {
    "h": 141.702,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.12647,
    "h": 151
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#217F43
secondary
#B24A8C
accent
#46A9E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F43

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

Preview Lab → · Contrast checker → · Palette generator →

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