#217D23#217D23

#217D23 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.152 H 143.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217D23
RGBrgb(33, 125, 35)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 74%, 49%)
CMYKcmyk(73.6%, 0%, 72%, 51%)
CIE-LABlab(45.79, -44.81, 39.65)
CIE-LCHlch(45.79, 59.84, 138.50°)
OKLaboklab(51.79% -0.1216 0.0907)
OKLCHoklch(51.79% 0.152 143.3)
XYZxyz(8.2637, 15.1110, 4.0710)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D23 #7D217B
analogous
#4D7D21 #217D23 #217D51
triadic
#217D23 #23217D #7D2321
tetradic
#217D23 #214D7D #7D217B #7D5121
square
#217D23 #214D7D #7D217B #7D5121
split-complementary
#217D23 #51217D #7D214D
monochromatic
#071C08 #144D15 #217D23 #2EAD31 #49CF4C

Accessibility & contrast

On white

5.22
#217D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D23#FFFFFF#000000##FFFFFF
##217D231.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#01796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d23;
/* rgb */ color: rgb(33, 125, 35);
/* oklch */ color: oklch(51.8% 0.152 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#217d23',
    950: '#000000',
  },
}
SCSS
$custom: #217d23;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#217d23",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 121.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.15169,
    "h": 143.3
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#217D23
secondary
#B04AAE
accent
#46DEE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217D23

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

Preview Lab → · Contrast checker → · Palette generator →

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