#218128#218128

#218128 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.153 H 144.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#218128
RGBrgb(33, 129, 40)
HSLhsl(124, 59%, 32%)
HSVhsv(124, 74%, 51%)
CMYKcmyk(74.4%, 0%, 69%, 49.4%)
CIE-LABlab(47.20, -45.73, 39.00)
CIE-LCHlch(47.20, 60.10, 139.54°)
OKLaboklab(52.98% -0.1238 0.09)
OKLCHoklch(52.98% 0.153 144)
XYZxyz(8.8599, 16.1761, 4.6624)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218128 #81217A
analogous
#4A8121 #218128 #218158
triadic
#218128 #282181 #812821
tetradic
#218128 #214A81 #81217A #815821
square
#218128 #214A81 #81217A #815821
split-complementary
#218128 #582181 #81214A
monochromatic
#08200A #155019 #218128 #2DB237 #4BD155

Accessibility & contrast

On white

4.96
#218128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#218128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218128
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218128#FFFFFF#000000##FFFFFF
##2181281.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218128;
/* rgb */ color: rgb(33, 129, 40);
/* oklch */ color: oklch(53.0% 0.153 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ca766',
    500: '#218128',
    950: '#000000',
  },
}
SCSS
$custom: #218128;
$custom-light: #6ca766;
$custom-dark: #000000;
JSON
{
  "hex": "#218128",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 124.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.15305,
    "h": 144
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#218128
secondary
#B44AAC
accent
#45D7E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218128

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

Preview Lab → · Contrast checker → · Palette generator →

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