#217F19#217F19

#217F19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.160 H 142.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#217F19
RGBrgb(33, 127, 25)
HSLhsl(115, 67%, 30%)
HSVhsv(115, 80%, 50%)
CMYKcmyk(74%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.41, -46.35, 44.11)
CIE-LCHlch(46.41, 63.99, 136.42°)
OKLaboklab(52.28% -0.1262 0.0987)
OKLCHoklch(52.28% 0.16 142)
XYZxyz(8.3916, 15.5713, 3.4828)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F19 #77197F
analogous
#547F19 #217F19 #197F44
triadic
#217F19 #19217F #7F1921
tetradic
#217F19 #19547F #77197F #7F4419
square
#217F19 #19547F #77197F #7F4419
split-complementary
#217F19 #44197F #7F1954
monochromatic
#071A05 #144C0F #217F19 #2EB223 #47D83A

Accessibility & contrast

On white

5.10
#217F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F19#FFFFFF#000000##FFFFFF
##217F191.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#047B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f19;
/* rgb */ color: rgb(33, 127, 25);
/* oklch */ color: oklch(52.3% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da55e',
    500: '#217f19',
    950: '#000000',
  },
}
SCSS
$custom: #217f19;
$custom-light: #6da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f19",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 115.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.16023,
    "h": 142
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217F19

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

Preview Lab → · Contrast checker → · Palette generator →

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