#217230#217230

#217230 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.127 H 146.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#217230
RGBrgb(33, 114, 48)
HSLhsl(131, 55%, 29%)
HSVhsv(131, 71%, 45%)
CMYKcmyk(71.1%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.11, -39.13, 29.32)
CIE-LCHlch(42.11, 48.90, 143.15°)
OKLaboklab(48.79% -0.1056 0.07)
OKLCHoklch(48.79% 0.127 146.5)
XYZxyz(7.1775, 12.5706, 4.8438)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217230 #722163
analogous
#3B7221 #217230 #217259
triadic
#217230 #302172 #723021
tetradic
#217230 #213B72 #722163 #725921
square
#217230 #213B72 #722163 #725921
split-complementary
#217230 #592172 #72213B
monochromatic
#07180A #13431C #217230 #2FA144 #44C95D

Accessibility & contrast

On white

5.98
#217230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#217230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217230
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217230#FFFFFF#000000##FFFFFF
##2172301.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74672A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#036F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217230;
/* rgb */ color: rgb(33, 114, 48);
/* oklch */ color: oklch(48.8% 0.127 146.5);
Tailwind
colors: {
  custom: {
    50: '#689b6a',
    500: '#217230',
    950: '#000000',
  },
}
SCSS
$custom: #217230;
$custom-light: #689b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#217230",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 131.111,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.12669,
    "h": 146.5
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#217230
secondary
#A54994
accent
#49C3DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217230

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

Preview Lab → · Contrast checker → · Palette generator →

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