#217F23#217F23

#217F23 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 143.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#217F23
RGBrgb(33, 127, 35)
HSLhsl(121, 59%, 31%)
HSVhsv(121, 74%, 50%)
CMYKcmyk(74%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.48, -45.52, 40.38)
CIE-LCHlch(46.48, 60.85, 138.43°)
OKLaboklab(52.36% -0.1235 0.0923)
OKLCHoklch(52.36% 0.154 143.2)
XYZxyz(8.5194, 15.6225, 4.1562)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F23 #7F217D
analogous
#4E7F21 #217F23 #217F52
triadic
#217F23 #23217F #7F2321
tetradic
#217F23 #214E7F #7F217D #7F5221
square
#217F23 #214E7F #7F217D #7F5221
split-complementary
#217F23 #52217F #7F214E
monochromatic
#081E08 #144E16 #217F23 #2EB030 #4AD04D

Accessibility & contrast

On white

5.09
#217F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#217F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F23
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F23#FFFFFF#000000##FFFFFF
##217F231.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f23;
/* rgb */ color: rgb(33, 127, 35);
/* oklch */ color: oklch(52.4% 0.154 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ca563',
    500: '#217f23',
    950: '#000000',
  },
}
SCSS
$custom: #217f23;
$custom-light: #6ca563;
$custom-dark: #000000;
JSON
{
  "hex": "#217f23",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 121.277,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.15415,
    "h": 143.2
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#217F23
secondary
#B24AAF
accent
#46DFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #217F23

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

Preview Lab → · Contrast checker → · Palette generator →

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