#218E23#218E23

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

Color values

HEX#218E23
RGBrgb(33, 142, 35)
HSLhsl(121, 62%, 34%)
HSVhsv(121, 77%, 56%)
CMYKcmyk(76.8%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.60, -50.68, 45.65)
CIE-LCHlch(51.60, 68.21, 137.99°)
OKLaboklab(56.61% -0.1375 0.1033)
OKLCHoklch(56.61% 0.172 143.1)
XYZxyz(10.6029, 19.7895, 4.8507)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E23 #8E218C
analogous
#568E21 #218E23 #218E5A
triadic
#218E23 #23218E #8E2321
tetradic
#218E23 #21568E #8E218C #8E5A21
square
#218E23 #21568E #8E218C #8E5A21
split-complementary
#218E23 #5A218E #8E2156
monochromatic
#0A2B0B #155C17 #218E23 #2DC02F #52D755

Accessibility & contrast

On white

4.24
#218E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E23#FFFFFF#000000##000000
##218E231.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e23;
/* rgb */ color: rgb(33, 142, 35);
/* oklch */ color: oklch(56.6% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#70b065',
    500: '#218e23',
    950: '#000000',
  },
}
SCSS
$custom: #218e23;
$custom-light: #70b065;
$custom-dark: #000000;
JSON
{
  "hex": "#218e23",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 121.101,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.17195,
    "h": 143.1
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#218E23
secondary
#BA50B8
accent
#42E2E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E23

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

Preview Lab → · Contrast checker → · Palette generator →

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