#217B1A#217B1A

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

Color values

HEX#217B1A
RGBrgb(33, 123, 26)
HSLhsl(116, 65%, 29%)
HSVhsv(116, 79%, 48%)
CMYKcmyk(73.2%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.03, -44.89, 42.42)
CIE-LCHlch(45.03, 61.76, 136.62°)
OKLaboklab(51.14% -0.1222 0.0953)
OKLCHoklch(51.14% 0.155 142.1)
XYZxyz(7.8962, 14.5630, 3.3719)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B1A #741A7B
analogous
#527B1A #217B1A #1A7B44
triadic
#217B1A #1A217B #7B1A21
tetradic
#217B1A #1A527B #741A7B #7B441A
square
#217B1A #1A527B #741A7B #7B441A
split-complementary
#217B1A #441A7B #7B1A52
monochromatic
#071905 #13480F #217B1A #2FAE25 #45D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B1A#FFFFFF#000000##FFFFFF
##217B1A1.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)
#7E6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#077769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b1a;
/* rgb */ color: rgb(33, 123, 26);
/* oklch */ color: oklch(51.1% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ca25e',
    500: '#217b1a',
    950: '#000000',
  },
}
SCSS
$custom: #217b1a;
$custom-light: #6ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#217b1a",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 115.67,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.15498,
    "h": 142.1
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#217B1A
secondary
#A742AF
accent
#40E8DC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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