#218531#218531

#218531 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.151 H 145.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#218531
RGBrgb(33, 133, 49)
HSLhsl(130, 60%, 33%)
HSVhsv(130, 75%, 52%)
CMYKcmyk(75.2%, 0%, 63.2%, 47.8%)
CIE-LABlab(48.66, -46.11, 36.47)
CIE-LCHlch(48.66, 58.79, 141.65°)
OKLaboklab(54.21% -0.1244 0.0856)
OKLCHoklch(54.21% 0.151 145.5)
XYZxyz(9.5684, 17.3191, 5.7438)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218531 #852175
analogous
#438521 #218531 #218563
triadic
#218531 #312185 #853121
tetradic
#218531 #214385 #852175 #856321
square
#218531 #214385 #852175 #856321
split-complementary
#218531 #632185 #852143
monochromatic
#09230D #15541F #218531 #2DB643 #4DD363

Accessibility & contrast

On white

4.70
#218531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#218531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218531
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218531#FFFFFF#000000##FFFFFF
##2185311.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7C7038
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #218531;
/* rgb */ color: rgb(33, 133, 49);
/* oklch */ color: oklch(54.2% 0.151 145.5);
Tailwind
colors: {
  custom: {
    50: '#6da96c',
    500: '#218531',
    950: '#000000',
  },
}
SCSS
$custom: #218531;
$custom-light: #6da96c;
$custom-dark: #000000;
JSON
{
  "hex": "#218531",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 129.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.15102,
    "h": 145.5
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#218531
secondary
#B64CA5
accent
#44CAE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218531

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

Preview Lab → · Contrast checker → · Palette generator →

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