#218236#218236

#218236 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.143 H 146.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#218236
RGBrgb(33, 130, 54)
HSLhsl(133, 60%, 32%)
HSVhsv(133, 75%, 51%)
CMYKcmyk(74.6%, 0%, 58.5%, 49%)
CIE-LABlab(47.69, -44.34, 32.89)
CIE-LCHlch(47.69, 55.21, 143.44°)
OKLaboklab(53.43% -0.1195 0.0783)
OKLCHoklch(53.43% 0.143 146.8)
XYZxyz(9.2750, 16.5539, 6.1957)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218236 #82216D
analogous
#3C8221 #218236 #218267
triadic
#218236 #362182 #823621
tetradic
#218236 #213C82 #82216D #826721
square
#218236 #213C82 #82216D #826721
split-complementary
#218236 #672182 #82213C
monochromatic
#08200D #155122 #218236 #2DB34A #4CD269

Accessibility & contrast

On white

4.87
#218236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#218236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218236
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218236#FFFFFF#000000##FFFFFF
##2182361.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#786E3C
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218236;
/* rgb */ color: rgb(33, 130, 54);
/* oklch */ color: oklch(53.4% 0.143 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ca76f',
    500: '#218236',
    950: '#000000',
  },
}
SCSS
$custom: #218236;
$custom-light: #6ca76f;
$custom-dark: #000000;
JSON
{
  "hex": "#218236",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 132.99,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.14283,
    "h": 146.8
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#218236
secondary
#B44A9D
accent
#45C1E3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #218236

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

Preview Lab → · Contrast checker → · Palette generator →

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