#217C2D#217C2D

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

Color values

HEX#217C2D
RGBrgb(33, 124, 45)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 73%, 49%)
CMYKcmyk(73.4%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.53, -43.34, 34.83)
CIE-LCHlch(45.53, 55.60, 141.21°)
OKLaboklab(51.61% -0.1171 0.0817)
OKLCHoklch(51.61% 0.143 145.1)
XYZxyz(8.3079, 14.9272, 4.9255)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C2D #7C2170
analogous
#427C21 #217C2D #217C5A
triadic
#217C2D #2D217C #7C2D21
tetradic
#217C2D #21427C #7C2170 #7C5A21
square
#217C2D #21427C #7C2170 #7C5A21
split-complementary
#217C2D #5A217C #7C2142
monochromatic
#071B0A #144C1B #217C2D #2EAC3F #49CF5A

Accessibility & contrast

On white

5.27
#217C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C2D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C2D#FFFFFF#000000##FFFFFF
##217C2D1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217c2d;
/* rgb */ color: rgb(33, 124, 45);
/* oklch */ color: oklch(51.6% 0.143 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba369',
    500: '#217c2d',
    950: '#000000',
  },
}
SCSS
$custom: #217c2d;
$custom-light: #6ba369;
$custom-dark: #000000;
JSON
{
  "hex": "#217c2d",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 127.912,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.14275,
    "h": 145.1
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#217C2D
secondary
#AF4AA2
accent
#47CDE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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