#217E23#217E23

#217E23 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.153 H 143.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#217E23
RGBrgb(33, 126, 35)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 74%, 49%)
CMYKcmyk(73.8%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.13, -45.17, 40.01)
CIE-LCHlch(46.13, 60.34, 138.46°)
OKLaboklab(52.07% -0.1225 0.0915)
OKLCHoklch(52.07% 0.153 143.2)
XYZxyz(8.3909, 15.3655, 4.1134)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E23 #7E217C
analogous
#4D7E21 #217E23 #217E51
triadic
#217E23 #23217E #7E2321
tetradic
#217E23 #214D7E #7E217C #7E5121
square
#217E23 #214D7E #7E217C #7E5121
split-complementary
#217E23 #51217E #7E214D
monochromatic
#081D08 #144E16 #217E23 #2EAE30 #4AD04D

Accessibility & contrast

On white

5.16
#217E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E23#FFFFFF#000000##FFFFFF
##217E231.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e23;
/* rgb */ color: rgb(33, 126, 35);
/* oklch */ color: oklch(52.1% 0.153 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#217e23',
    950: '#000000',
  },
}
SCSS
$custom: #217e23;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#217e23",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 121.29,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.15293,
    "h": 143.2
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#217E23
secondary
#B14AAF
accent
#46DEE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E23

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

Preview Lab → · Contrast checker → · Palette generator →

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