#217E18#217E18

#217E18 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.160 H 141.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#217E18
RGBrgb(33, 126, 24)
HSLhsl(115, 68%, 29%)
HSVhsv(115, 81%, 49%)
CMYKcmyk(73.8%, 0%, 81%, 50.6%)
CIE-LABlab(46.06, -46.08, 44.11)
CIE-LCHlch(46.06, 63.79, 136.25°)
OKLaboklab(51.99% -0.1255 0.0985)
OKLCHoklch(51.99% 0.16 141.9)
XYZxyz(8.2525, 15.3101, 3.3842)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E18 #75187E
analogous
#547E18 #217E18 #187E42
triadic
#217E18 #18217E #7E1821
tetradic
#217E18 #18547E #75187E #7E4218
square
#217E18 #18547E #75187E #7E4218
split-complementary
#217E18 #42187E #7E1854
monochromatic
#071A05 #144B0E #217E18 #2EB122 #46D937

Accessibility & contrast

On white

5.17
#217E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E18#FFFFFF#000000##FFFFFF
##217E181.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#057A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e18;
/* rgb */ color: rgb(33, 126, 24);
/* oklch */ color: oklch(52.0% 0.160 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca45e',
    500: '#217e18',
    950: '#000000',
  },
}
SCSS
$custom: #217e18;
$custom-light: #6ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#217e18",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 114.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.15959,
    "h": 141.9
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#217E18
secondary
#A83FB2
accent
#3DEBDC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217E18

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

Preview Lab → · Contrast checker → · Palette generator →

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