#217E19#217E19

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

Color values

HEX#217E19
RGBrgb(33, 126, 25)
HSLhsl(115, 67%, 30%)
HSVhsv(115, 80%, 49%)
CMYKcmyk(73.8%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.06, -46.01, 43.78)
CIE-LCHlch(46.06, 63.51, 136.42°)
OKLaboklab(51.99% -0.1253 0.098)
OKLCHoklch(51.99% 0.159 142)
XYZxyz(8.2630, 15.3143, 3.4400)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E19 #76197E
analogous
#537E19 #217E19 #197E44
triadic
#217E19 #19217E #7E1921
tetradic
#217E19 #19537E #76197E #7E4419
square
#217E19 #19537E #76197E #7E4419
split-complementary
#217E19 #44197E #7E1953
monochromatic
#071A05 #144B0F #217E19 #2EB123 #46D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E19#FFFFFF#000000##FFFFFF
##217E191.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)
#817200
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#047A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e19;
/* rgb */ color: rgb(33, 126, 25);
/* oklch */ color: oklch(52.0% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ca45e',
    500: '#217e19',
    950: '#000000',
  },
}
SCSS
$custom: #217e19;
$custom-light: #6ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#217e19",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 115.248,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.15906,
    "h": 142
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#217E19
secondary
#A941B2
accent
#3EEADC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217E19

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

Preview Lab → · Contrast checker → · Palette generator →

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