#217826#217826

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

Color values

HEX#217826
RGBrgb(33, 120, 38)
HSLhsl(123, 57%, 30%)
HSVhsv(123, 73%, 47%)
CMYKcmyk(72.5%, 0%, 68.3%, 52.9%)
CIE-LABlab(44.08, -42.69, 36.50)
CIE-LCHlch(44.08, 56.17, 139.47°)
OKLaboklab(50.38% -0.1157 0.0845)
OKLCHoklch(50.38% 0.143 143.9)
XYZxyz(7.6930, 13.8954, 4.1100)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217826 #782173
analogous
#487821 #217826 #217851
triadic
#217826 #262178 #782621
tetradic
#217826 #214878 #782173 #785121
square
#217826 #214878 #782173 #785121
split-complementary
#217826 #512178 #782148
monochromatic
#071808 #144817 #217826 #2EA835 #47CC4F

Accessibility & contrast

On white

5.56
#217826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217826
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217826#FFFFFF#000000##FFFFFF
##2178261.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#047567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217826;
/* rgb */ color: rgb(33, 120, 38);
/* oklch */ color: oklch(50.4% 0.143 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa064',
    500: '#217826',
    950: '#000000',
  },
}
SCSS
$custom: #217826;
$custom-light: #6aa064;
$custom-dark: #000000;
JSON
{
  "hex": "#217826",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 123.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.14323,
    "h": 143.9
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#217826
secondary
#AB4AA6
accent
#48D7E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217826

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

Preview Lab → · Contrast checker → · Palette generator →

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