#217127#217127

#217127 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.133 H 144.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#217127
RGBrgb(33, 113, 39)
HSLhsl(125, 55%, 29%)
HSVhsv(125, 71%, 44%)
CMYKcmyk(70.8%, 0%, 65.5%, 55.7%)
CIE-LABlab(41.66, -39.96, 33.34)
CIE-LCHlch(41.66, 52.04, 140.16°)
OKLaboklab(48.38% -0.1082 0.0779)
OKLCHoklch(48.38% 0.133 144.3)
XYZxyz(6.8981, 12.2793, 3.9257)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217127 #71216B
analogous
#437121 #217127 #21714F
triadic
#217127 #272171 #712721
tetradic
#217127 #214371 #71216B #714F21
square
#217127 #214371 #71216B #714F21
split-complementary
#217127 #4F2171 #712143
monochromatic
#071808 #134217 #217127 #2FA037 #44C84E

Accessibility & contrast

On white

6.08
#217127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#217127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217127
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217127#FFFFFF#000000##FFFFFF
##2171271.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661E
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#096E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217127;
/* rgb */ color: rgb(33, 113, 39);
/* oklch */ color: oklch(48.4% 0.133 144.3);
Tailwind
colors: {
  custom: {
    50: '#689b64',
    500: '#217127',
    950: '#000000',
  },
}
SCSS
$custom: #217127;
$custom-light: #689b64;
$custom-dark: #000000;
JSON
{
  "hex": "#217127",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 124.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.13331,
    "h": 144.3
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#217127
secondary
#A5499E
accent
#4AD3DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217127

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

Preview Lab → · Contrast checker → · Palette generator →

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