#218238#218238

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

Color values

HEX#218238
RGBrgb(33, 130, 56)
HSLhsl(134, 60%, 32%)
HSVhsv(134, 75%, 51%)
CMYKcmyk(74.6%, 0%, 56.9%, 49%)
CIE-LABlab(47.72, -44.05, 31.90)
CIE-LCHlch(47.72, 54.39, 144.09°)
OKLaboklab(53.46% -0.1186 0.0763)
OKLCHoklch(53.46% 0.141 147.3)
XYZxyz(9.3229, 16.5731, 6.4482)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218238 #82216B
analogous
#3B8221 #218238 #218269
triadic
#218238 #382182 #823821
tetradic
#218238 #213B82 #82216B #826921
square
#218238 #213B82 #82216B #826921
split-complementary
#218238 #692182 #82213B
monochromatic
#08200E #155123 #218238 #2DB34D #4CD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218238#FFFFFF#000000##FFFFFF
##2182381.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)
#847631
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218238;
/* rgb */ color: rgb(33, 130, 56);
/* oklch */ color: oklch(53.5% 0.141 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ca771',
    500: '#218238',
    950: '#000000',
  },
}
SCSS
$custom: #218238;
$custom-light: #6ca771;
$custom-dark: #000000;
JSON
{
  "hex": "#218238",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 134.227,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.14103,
    "h": 147.3
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#218238
secondary
#B44A9B
accent
#45BDE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #218238

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

Preview Lab → · Contrast checker → · Palette generator →

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