#217D18#217D18

#217D18 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.158 H 141.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217D18
RGBrgb(33, 125, 24)
HSLhsl(115, 68%, 29%)
HSVhsv(115, 81%, 49%)
CMYKcmyk(73.6%, 0%, 80.8%, 51%)
CIE-LABlab(45.71, -45.73, 43.78)
CIE-LCHlch(45.71, 63.31, 136.25°)
OKLaboklab(51.7% -0.1246 0.0978)
OKLCHoklch(51.7% 0.158 141.9)
XYZxyz(8.1252, 15.0556, 3.3418)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D18 #74187D
analogous
#547D18 #217D18 #187D41
triadic
#217D18 #18217D #7D1821
tetradic
#217D18 #18547D #74187D #7D4118
square
#217D18 #18547D #74187D #7D4118
split-complementary
#217D18 #41187D #7D1854
monochromatic
#071A05 #134A0E #217D18 #2FB022 #45D937

Accessibility & contrast

On white

5.24
#217D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D18
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D18#FFFFFF#000000##FFFFFF
##217D181.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#06796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d18;
/* rgb */ color: rgb(33, 125, 24);
/* oklch */ color: oklch(51.7% 0.158 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca45e',
    500: '#217d18',
    950: '#000000',
  },
}
SCSS
$custom: #217d18;
$custom-light: #6ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#217d18",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 114.653,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.517,
    "c": 0.15842,
    "h": 141.9
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#217D18
secondary
#A73FB2
accent
#3DEBDB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217D18

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

Preview Lab → · Contrast checker → · Palette generator →

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