#218028#218028

#218028 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.152 H 144.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#218028
RGBrgb(33, 128, 40)
HSLhsl(124, 59%, 32%)
HSVhsv(124, 74%, 50%)
CMYKcmyk(74.2%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.86, -45.37, 38.63)
CIE-LCHlch(46.86, 59.59, 139.59°)
OKLaboklab(52.69% -0.1228 0.0892)
OKLCHoklch(52.69% 0.152 144)
XYZxyz(8.7288, 15.9139, 4.6187)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218028 #802179
analogous
#4A8021 #218028 #218058
triadic
#218028 #282180 #802821
tetradic
#218028 #214A80 #802179 #805821
square
#218028 #214A80 #802179 #805821
split-complementary
#218028 #582180 #80214A
monochromatic
#081F0A #144F19 #218028 #2EB137 #4BD155

Accessibility & contrast

On white

5.02
#218028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#218028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218028
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218028#FFFFFF#000000##FFFFFF
##2180281.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218028;
/* rgb */ color: rgb(33, 128, 40);
/* oklch */ color: oklch(52.7% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ca666',
    500: '#218028',
    950: '#000000',
  },
}
SCSS
$custom: #218028;
$custom-light: #6ca666;
$custom-dark: #000000;
JSON
{
  "hex": "#218028",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 124.421,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.15181,
    "h": 144
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#218028
secondary
#B34AAB
accent
#46D7E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218028

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

Preview Lab → · Contrast checker → · Palette generator →

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