#217223#217223

#217223 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.138 H 143.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#217223
RGBrgb(33, 114, 35)
HSLhsl(121, 55%, 29%)
HSVhsv(121, 71%, 45%)
CMYKcmyk(71.1%, 0%, 69.3%, 55.3%)
CIE-LABlab(41.97, -40.80, 35.56)
CIE-LCHlch(41.97, 54.12, 138.93°)
OKLaboklab(48.62% -0.1107 0.0821)
OKLCHoklch(48.62% 0.138 143.4)
XYZxyz(6.9475, 12.4786, 3.6323)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217223 #722170
analogous
#487221 #217223 #21724C
triadic
#217223 #232172 #722321
tetradic
#217223 #214872 #722170 #724C21
square
#217223 #214872 #722170 #724C21
split-complementary
#217223 #4C2172 #722148
monochromatic
#071807 #134314 #217223 #2FA132 #44C948

Accessibility & contrast

On white

6.01
#217223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#217223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217223
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217223#FFFFFF#000000##FFFFFF
##2172231.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746719
Deuteranopia (green-blind)
#6B602A
Tritanopia (blue-blind)
#0A6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217223;
/* rgb */ color: rgb(33, 114, 35);
/* oklch */ color: oklch(48.6% 0.138 143.4);
Tailwind
colors: {
  custom: {
    50: '#699b62',
    500: '#217223',
    950: '#000000',
  },
}
SCSS
$custom: #217223;
$custom-light: #699b62;
$custom-dark: #000000;
JSON
{
  "hex": "#217223",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 121.481,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.13783,
    "h": 143.4
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#217223
secondary
#A549A3
accent
#49DBDE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217223

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

Preview Lab → · Contrast checker → · Palette generator →

#217223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva