#218227#218227

#218227 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.155 H 143.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218227
RGBrgb(33, 130, 39)
HSLhsl(124, 60%, 32%)
HSVhsv(124, 75%, 51%)
CMYKcmyk(74.6%, 0%, 70%, 49%)
CIE-LABlab(47.54, -46.19, 39.80)
CIE-LCHlch(47.54, 60.97, 139.25°)
OKLaboklab(53.25% -0.1251 0.0916)
OKLCHoklch(53.25% 0.155 143.8)
XYZxyz(8.9755, 16.4341, 4.6181)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218227 #82217C
analogous
#4C8221 #218227 #218258
triadic
#218227 #272182 #822721
tetradic
#218227 #214C82 #82217C #825821
square
#218227 #214C82 #82217C #825821
split-complementary
#218227 #582182 #82214C
monochromatic
#08200A #155118 #218227 #2DB336 #4CD254

Accessibility & contrast

On white

4.90
#218227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#218227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218227
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218227#FFFFFF#000000##FFFFFF
##2182271.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218227;
/* rgb */ color: rgb(33, 130, 39);
/* oklch */ color: oklch(53.3% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#6da766',
    500: '#218227',
    950: '#000000',
  },
}
SCSS
$custom: #218227;
$custom-light: #6da766;
$custom-dark: #000000;
JSON
{
  "hex": "#218227",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 123.711,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.15502,
    "h": 143.8
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#218227
secondary
#B44AAE
accent
#45D9E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218227

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

Preview Lab → · Contrast checker → · Palette generator →

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