#218138#218138

#218138 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.140 H 147.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#218138
RGBrgb(33, 129, 56)
HSLhsl(134, 59%, 32%)
HSVhsv(134, 74%, 51%)
CMYKcmyk(74.4%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.38, -43.68, 31.49)
CIE-LCHlch(47.38, 53.85, 144.21°)
OKLaboklab(53.18% -0.1176 0.0754)
OKLCHoklch(53.18% 0.14 147.4)
XYZxyz(9.1906, 16.3083, 6.4041)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218138 #81216A
analogous
#3A8121 #218138 #218168
triadic
#218138 #382181 #813821
tetradic
#218138 #213A81 #81216A #816821
square
#218138 #213A81 #81216A #816821
split-complementary
#218138 #682181 #81213A
monochromatic
#08200E #155023 #218138 #2DB24D #4BD16B

Accessibility & contrast

On white

4.93
#218138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#218138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218138
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218138#FFFFFF#000000##FFFFFF
##2181381.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218138;
/* rgb */ color: rgb(33, 129, 56);
/* oklch */ color: oklch(53.2% 0.140 147.4);
Tailwind
colors: {
  custom: {
    50: '#6ba670',
    500: '#218138',
    950: '#000000',
  },
}
SCSS
$custom: #218138;
$custom-light: #6ba670;
$custom-dark: #000000;
JSON
{
  "hex": "#218138",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 134.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.13969,
    "h": 147.4
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#218138
secondary
#B44A9A
accent
#45BDE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #218138

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

Preview Lab → · Contrast checker → · Palette generator →

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