#218331#218331

#218331 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.148 H 145.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#218331
RGBrgb(33, 131, 49)
HSLhsl(130, 60%, 32%)
HSVhsv(130, 75%, 51%)
CMYKcmyk(74.8%, 0%, 62.6%, 48.6%)
CIE-LABlab(47.98, -45.39, 35.69)
CIE-LCHlch(47.98, 57.74, 141.82°)
OKLaboklab(53.65% -0.1225 0.0839)
OKLCHoklch(53.65% 0.148 145.6)
XYZxyz(9.2972, 16.7766, 5.6534)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218331 #832173
analogous
#428321 #218331 #218362
triadic
#218331 #312183 #833121
tetradic
#218331 #214283 #832173 #836221
square
#218331 #214283 #832173 #836221
split-complementary
#218331 #622183 #832142
monochromatic
#08210C #15521F #218331 #2DB443 #4CD262

Accessibility & contrast

On white

4.82
#218331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#218331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218331
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218331#FFFFFF#000000##FFFFFF
##2183311.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218331;
/* rgb */ color: rgb(33, 131, 49);
/* oklch */ color: oklch(53.6% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ca86c',
    500: '#218331',
    950: '#000000',
  },
}
SCSS
$custom: #218331;
$custom-light: #6ca86c;
$custom-dark: #000000;
JSON
{
  "hex": "#218331",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 129.796,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.14846,
    "h": 145.6
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#218331
secondary
#B54BA4
accent
#45C9E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218331

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

Preview Lab → · Contrast checker → · Palette generator →

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