#217830#217830

#217830 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.135 H 146.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#217830
RGBrgb(33, 120, 48)
HSLhsl(130, 57%, 30%)
HSVhsv(130, 73%, 47%)
CMYKcmyk(72.5%, 0%, 60%, 52.9%)
CIE-LABlab(44.19, -41.44, 31.79)
CIE-LCHlch(44.19, 52.23, 142.51°)
OKLaboklab(50.51% -0.1118 0.0754)
OKLCHoklch(50.51% 0.135 146)
XYZxyz(7.8766, 13.9688, 5.0769)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217830 #782169
analogous
#3D7821 #217830 #21785C
triadic
#217830 #302178 #783021
tetradic
#217830 #213D78 #782169 #785C21
square
#217830 #213D78 #782169 #785C21
split-complementary
#217830 #5C2178 #78213D
monochromatic
#07180A #14481D #217830 #2EA843 #47CC5E

Accessibility & contrast

On white

5.54
#217830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#217830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217830
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217830#FFFFFF#000000##FFFFFF
##2178301.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217830;
/* rgb */ color: rgb(33, 120, 48);
/* oklch */ color: oklch(50.5% 0.135 146.0);
Tailwind
colors: {
  custom: {
    50: '#6aa06b',
    500: '#217830',
    950: '#000000',
  },
}
SCSS
$custom: #217830;
$custom-light: #6aa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#217830",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 130.345,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.13486,
    "h": 146
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#217830
secondary
#AB4A9A
accent
#48C6E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #217830

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

Preview Lab → · Contrast checker → · Palette generator →

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