#218E26#218E26

#218E26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.170 H 143.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#218E26
RGBrgb(33, 142, 38)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 77%, 56%)
CMYKcmyk(76.8%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.62, -50.42, 44.51)
CIE-LCHlch(51.62, 67.26, 138.56°)
OKLaboklab(56.64% -0.1366 0.1013)
OKLCHoklch(56.64% 0.17 143.4)
XYZxyz(10.6494, 19.8080, 5.0954)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E26 #8E2189
analogous
#538E21 #218E26 #218E5D
triadic
#218E26 #26218E #8E2621
tetradic
#218E26 #21538E #8E2189 #8E5D21
square
#218E26 #21538E #8E2189 #8E5D21
split-complementary
#218E26 #5D218E #8E2153
monochromatic
#0A2B0B #155C19 #218E26 #2DC033 #52D759

Accessibility & contrast

On white

4.23
#218E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#218E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E26#FFFFFF#000000##000000
##218E261.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e26;
/* rgb */ color: rgb(33, 142, 38);
/* oklch */ color: oklch(56.6% 0.170 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b067',
    500: '#218e26',
    950: '#000000',
  },
}
SCSS
$custom: #218e26;
$custom-light: #70b067;
$custom-dark: #000000;
JSON
{
  "hex": "#218e26",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 122.752,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.17009,
    "h": 143.4
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#218E26
secondary
#BA50B6
accent
#42DEE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E26

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

Preview Lab → · Contrast checker → · Palette generator →

#218E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva