#217126#217126

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

Color values

HEX#217126
RGBrgb(33, 113, 38)
HSLhsl(124, 55%, 29%)
HSVhsv(124, 71%, 44%)
CMYKcmyk(70.8%, 0%, 66.4%, 55.7%)
CIE-LABlab(41.65, -40.08, 33.81)
CIE-LCHlch(41.65, 52.43, 139.85°)
OKLaboklab(48.37% -0.1086 0.0788)
OKLCHoklch(48.37% 0.134 144)
XYZxyz(6.8817, 12.2728, 3.8396)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217126 #71216C
analogous
#447121 #217126 #21714E
triadic
#217126 #262171 #712621
tetradic
#217126 #214471 #71216C #714E21
square
#217126 #214471 #71216C #714E21
split-complementary
#217126 #4E2171 #712144
monochromatic
#071808 #134216 #217126 #2FA036 #44C84C

Accessibility & contrast

On white

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

On black

3.45
#217126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217126#FFFFFF#000000##FFFFFF
##2171261.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661D
Deuteranopia (green-blind)
#6A602C
Tritanopia (blue-blind)
#0A6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217126;
/* rgb */ color: rgb(33, 113, 38);
/* oklch */ color: oklch(48.4% 0.134 144.0);
Tailwind
colors: {
  custom: {
    50: '#689b64',
    500: '#217126',
    950: '#000000',
  },
}
SCSS
$custom: #217126;
$custom-light: #689b64;
$custom-dark: #000000;
JSON
{
  "hex": "#217126",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 123.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.13413,
    "h": 144
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#217126
secondary
#A5499F
accent
#4AD5DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #217126

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

Preview Lab → · Contrast checker → · Palette generator →

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