#217028#217028

#217028 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.131 H 144.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#217028
RGBrgb(33, 112, 40)
HSLhsl(125, 54%, 28%)
HSVhsv(125, 71%, 44%)
CMYKcmyk(70.5%, 0%, 64.3%, 56.1%)
CIE-LABlab(41.32, -39.45, 32.47)
CIE-LCHlch(41.32, 51.09, 140.55°)
OKLaboklab(48.1% -0.1068 0.0761)
OKLCHoklch(48.1% 0.131 144.5)
XYZxyz(6.8039, 12.0642, 3.9771)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217028 #702169
analogous
#417021 #217028 #21704F
triadic
#217028 #282170 #702821
tetradic
#217028 #214170 #702169 #704F21
square
#217028 #214170 #702169 #704F21
split-complementary
#217028 #4F2170 #702141
monochromatic
#071808 #134117 #217028 #2F9F39 #44C84F

Accessibility & contrast

On white

6.15
#217028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#217028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217028
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217028#FFFFFF#000000##FFFFFF
##2170281.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#096D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #217028;
/* rgb */ color: rgb(33, 112, 40);
/* oklch */ color: oklch(48.1% 0.131 144.5);
Tailwind
colors: {
  custom: {
    50: '#689a65',
    500: '#217028',
    950: '#000000',
  },
}
SCSS
$custom: #217028;
$custom-light: #689a65;
$custom-dark: #000000;
JSON
{
  "hex": "#217028",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 125.316,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.481,
    "c": 0.13112,
    "h": 144.5
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#217028
secondary
#A4499C
accent
#4AD1DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217028

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

Preview Lab → · Contrast checker → · Palette generator →

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