#218C2A#218C2A

#218C2A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.165 H 144.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#218C2A
RGBrgb(33, 140, 42)
HSLhsl(125, 62%, 34%)
HSVhsv(125, 76%, 55%)
CMYKcmyk(76.4%, 0%, 70%, 45.1%)
CIE-LABlab(50.97, -49.36, 42.19)
CIE-LCHlch(50.97, 64.93, 139.47°)
OKLaboklab(56.11% -0.1335 0.097)
OKLCHoklch(56.11% 0.165 144)
XYZxyz(10.4225, 19.2455, 5.3555)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C2A #8C2183
analogous
#4E8C21 #218C2A #218C60
triadic
#218C2A #2A218C #8C2A21
tetradic
#218C2A #214E8C #8C2183 #8C6021
square
#218C2A #214E8C #8C2183 #8C6021
split-complementary
#218C2A #60218C #8C214E
monochromatic
#0A290C #155A1B #218C2A #2DBE39 #51D65D

Accessibility & contrast

On white

4.33
#218C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#218C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C2A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C2A#FFFFFF#000000##000000
##218C2A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c2a;
/* rgb */ color: rgb(33, 140, 42);
/* oklch */ color: oklch(56.1% 0.165 144.0);
Tailwind
colors: {
  custom: {
    50: '#6faf69',
    500: '#218c2a',
    950: '#000000',
  },
}
SCSS
$custom: #218c2a;
$custom-light: #6faf69;
$custom-dark: #000000;
JSON
{
  "hex": "#218c2a",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 125.047,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.16503,
    "h": 144
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#218C2A
secondary
#B94FB1
accent
#43D7E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#218C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva