#218E25#218E25

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

Color values

HEX#218E25
RGBrgb(33, 142, 37)
HSLhsl(122, 62%, 34%)
HSVhsv(122, 77%, 56%)
CMYKcmyk(76.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.61, -50.51, 44.90)
CIE-LCHlch(51.61, 67.58, 138.36°)
OKLaboklab(56.63% -0.1369 0.102)
OKLCHoklch(56.63% 0.171 143.3)
XYZxyz(10.6335, 19.8017, 5.0116)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E25 #8E218A
analogous
#548E21 #218E25 #218E5C
triadic
#218E25 #25218E #8E2521
tetradic
#218E25 #21548E #8E218A #8E5C21
square
#218E25 #21548E #8E218A #8E5C21
split-complementary
#218E25 #5C218E #8E2154
monochromatic
#0A2B0B #155C18 #218E25 #2DC032 #52D757

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E25#FFFFFF#000000##000000
##218E251.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)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e25;
/* rgb */ color: rgb(33, 142, 37);
/* oklch */ color: oklch(56.6% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#70b066',
    500: '#218e25',
    950: '#000000',
  },
}
SCSS
$custom: #218e25;
$custom-light: #70b066;
$custom-dark: #000000;
JSON
{
  "hex": "#218e25",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 122.202,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.17072,
    "h": 143.3
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#218E25
secondary
#BA50B7
accent
#42DFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E25

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

Preview Lab → · Contrast checker → · Palette generator →

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