#217B23#217B23

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

Color values

HEX#217B23
RGBrgb(33, 123, 35)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 48%)
CMYKcmyk(73.2%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.09, -44.10, 38.92)
CIE-LCHlch(45.09, 58.82, 138.57°)
OKLaboklab(51.21% -0.1196 0.0892)
OKLCHoklch(51.21% 0.149 143.3)
XYZxyz(8.0130, 14.6097, 3.9874)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B23 #7B2179
analogous
#4C7B21 #217B23 #217B50
triadic
#217B23 #23217B #7B2321
tetradic
#217B23 #214C7B #7B2179 #7B5021
square
#217B23 #214C7B #7B2179 #7B5021
split-complementary
#217B23 #50217B #7B214C
monochromatic
#071A08 #144B15 #217B23 #2EAB31 #48CE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B23#FFFFFF#000000##FFFFFF
##217B231.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)
#7E6F16
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#037769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b23;
/* rgb */ color: rgb(33, 123, 35);
/* oklch */ color: oklch(51.2% 0.149 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba263',
    500: '#217b23',
    950: '#000000',
  },
}
SCSS
$custom: #217b23;
$custom-light: #6ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#217b23",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 121.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.14922,
    "h": 143.3
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#217B23
secondary
#AE4AAC
accent
#47DEE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217B23

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

Preview Lab → · Contrast checker → · Palette generator →

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