#217829#217829

#217829 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.141 H 144.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#217829
RGBrgb(33, 120, 41)
HSLhsl(126, 57%, 30%)
HSVhsv(126, 73%, 47%)
CMYKcmyk(72.5%, 0%, 65.8%, 52.9%)
CIE-LABlab(44.11, -42.35, 35.14)
CIE-LCHlch(44.11, 55.03, 140.32°)
OKLaboklab(50.42% -0.1146 0.0819)
OKLCHoklch(50.42% 0.141 144.4)
XYZxyz(7.7434, 13.9155, 4.3753)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217829 #782170
analogous
#457821 #217829 #217854
triadic
#217829 #292178 #782921
tetradic
#217829 #214578 #782170 #785421
square
#217829 #214578 #782170 #785421
split-complementary
#217829 #542178 #782145
monochromatic
#071808 #144819 #217829 #2EA839 #47CC53

Accessibility & contrast

On white

5.55
#217829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#217829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217829
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217829#FFFFFF#000000##FFFFFF
##2178291.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D20
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#027567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217829;
/* rgb */ color: rgb(33, 120, 41);
/* oklch */ color: oklch(50.4% 0.141 144.4);
Tailwind
colors: {
  custom: {
    50: '#6aa066',
    500: '#217829',
    950: '#000000',
  },
}
SCSS
$custom: #217829;
$custom-light: #6aa066;
$custom-dark: #000000;
JSON
{
  "hex": "#217829",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 125.517,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.14084,
    "h": 144.4
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#217829
secondary
#AB4AA2
accent
#48D2E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217829

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

Preview Lab → · Contrast checker → · Palette generator →

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