#217B19#217B19

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

Color values

HEX#217B19
RGBrgb(33, 123, 25)
HSLhsl(115, 66%, 29%)
HSVhsv(115, 80%, 48%)
CMYKcmyk(73.2%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.02, -44.96, 42.77)
CIE-LCHlch(45.02, 62.06, 136.43°)
OKLaboklab(51.13% -0.1225 0.0959)
OKLCHoklch(51.13% 0.156 142)
XYZxyz(7.8852, 14.5586, 3.3140)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B19 #73197B
analogous
#527B19 #217B19 #197B42
triadic
#217B19 #19217B #7B1921
tetradic
#217B19 #19527B #73197B #7B4219
square
#217B19 #19527B #73197B #7B4219
split-complementary
#217B19 #42197B #7B1952
monochromatic
#071905 #13480F #217B19 #2FAE23 #45D738

Accessibility & contrast

On white

5.37
#217B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B19
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B19#FFFFFF#000000##FFFFFF
##217B191.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#077769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b19;
/* rgb */ color: rgb(33, 123, 25);
/* oklch */ color: oklch(51.1% 0.156 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ca25e',
    500: '#217b19',
    950: '#000000',
  },
}
SCSS
$custom: #217b19;
$custom-light: #6ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#217b19",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 115.102,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.15555,
    "h": 142
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#217B19
secondary
#A640AF
accent
#3FE9DB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B19

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

Preview Lab → · Contrast checker → · Palette generator →

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