#218626#218626

#218626 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.161 H 143.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#218626
RGBrgb(33, 134, 38)
HSLhsl(123, 60%, 33%)
HSVhsv(123, 75%, 53%)
CMYKcmyk(75.4%, 0%, 71.6%, 47.5%)
CIE-LABlab(48.90, -47.68, 41.67)
CIE-LCHlch(48.90, 63.33, 138.85°)
OKLaboklab(54.38% -0.1292 0.0954)
OKLCHoklch(54.38% 0.161 143.6)
XYZxyz(9.5015, 17.5124, 4.7128)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218626 #862181
analogous
#4F8621 #218626 #218658
triadic
#218626 #262186 #862621
tetradic
#218626 #214F86 #862181 #865821
square
#218626 #214F86 #862181 #865821
split-complementary
#218626 #582186 #86214F
monochromatic
#09240A #155518 #218626 #2DB734 #4ED355

Accessibility & contrast

On white

4.66
#218626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#218626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218626
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218626#FFFFFF#000000##FFFFFF
##2186261.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #218626;
/* rgb */ color: rgb(33, 134, 38);
/* oklch */ color: oklch(54.4% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa66',
    500: '#218626',
    950: '#000000',
  },
}
SCSS
$custom: #218626;
$custom-light: #6eaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#218626",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 122.97,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.16059,
    "h": 143.6
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#218626
secondary
#B74CB1
accent
#44DCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218626

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

Preview Lab → · Contrast checker → · Palette generator →

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