#218522#218522

#218522 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.162 H 143.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#218522
RGBrgb(33, 133, 34)
HSLhsl(121, 60%, 33%)
HSVhsv(121, 75%, 52%)
CMYKcmyk(75.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.53, -47.71, 42.91)
CIE-LCHlch(48.53, 64.17, 138.03°)
OKLaboklab(54.06% -0.1295 0.0974)
OKLCHoklch(54.06% 0.162 143)
XYZxyz(9.3029, 17.2128, 4.3452)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218522 #852184
analogous
#528521 #218522 #218554
triadic
#218522 #222185 #852221
tetradic
#218522 #215285 #852184 #855421
square
#218522 #215285 #852184 #855421
split-complementary
#218522 #542185 #852152
monochromatic
#092309 #155415 #218522 #2DB62F #4DD34F

Accessibility & contrast

On white

4.73
#218522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#218522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218522
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218522#FFFFFF#000000##FFFFFF
##2185221.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218522;
/* rgb */ color: rgb(33, 133, 34);
/* oklch */ color: oklch(54.1% 0.162 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eaa64',
    500: '#218522',
    950: '#000000',
  },
}
SCSS
$custom: #218522;
$custom-light: #6eaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#218522",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 120.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.16203,
    "h": 143
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#218522
secondary
#B64CB5
accent
#44E2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218522

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

Preview Lab → · Contrast checker → · Palette generator →

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