#217B24#217B24

#217B24 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.149 H 143.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#217B24
RGBrgb(33, 123, 36)
HSLhsl(122, 58%, 31%)
HSVhsv(122, 73%, 48%)
CMYKcmyk(73.2%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.10, -44.00, 38.50)
CIE-LCHlch(45.10, 58.46, 138.81°)
OKLaboklab(51.22% -0.1193 0.0885)
OKLCHoklch(51.22% 0.149 143.4)
XYZxyz(8.0281, 14.6157, 4.0668)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B24 #7B2178
analogous
#4B7B21 #217B24 #217B51
triadic
#217B24 #24217B #7B2421
tetradic
#217B24 #214B7B #7B2178 #7B5121
square
#217B24 #214B7B #7B2178 #7B5121
split-complementary
#217B24 #51217B #7B214B
monochromatic
#071A08 #144B16 #217B24 #2EAB32 #48CE4D

Accessibility & contrast

On white

5.35
#217B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B24
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B24#FFFFFF#000000##FFFFFF
##217B241.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F18
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#027769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b24;
/* rgb */ color: rgb(33, 123, 36);
/* oklch */ color: oklch(51.2% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba263',
    500: '#217b24',
    950: '#000000',
  },
}
SCSS
$custom: #217b24;
$custom-light: #6ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#217b24",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 122,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.14851,
    "h": 143.4
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#217B24
secondary
#AE4AAB
accent
#47DCE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217B24

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

Preview Lab → · Contrast checker → · Palette generator →

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