#227218#227218

#227218 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.145 H 141.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#227218
RGBrgb(34, 114, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 45%)
CMYKcmyk(70.2%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.91, -41.61, 40.08)
CIE-LCHlch(41.91, 57.77, 136.07°)
OKLaboklab(48.55% -0.1135 0.0901)
OKLCHoklch(48.55% 0.145 141.6)
XYZxyz(6.8415, 12.4399, 2.9046)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227218 #681872
analogous
#4F7218 #227218 #18723B
triadic
#227218 #182272 #721822
tetradic
#227218 #184F72 #681872 #723B18
square
#227218 #184F72 #681872 #723B18
split-complementary
#227218 #3B1872 #72184F
monochromatic
#081905 #133F0D #227218 #31A523 #43D431

Accessibility & contrast

On white

6.02
#227218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#227218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227218
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227218#FFFFFF#000000##FFFFFF
##2272181.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6C6022
Tritanopia (blue-blind)
#116E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227218;
/* rgb */ color: rgb(34, 114, 24);
/* oklch */ color: oklch(48.6% 0.145 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9b5c',
    500: '#227218',
    950: '#000000',
  },
}
SCSS
$custom: #227218;
$custom-light: #6a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227218",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 113.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.14494,
    "h": 141.6
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#227218
secondary
#9C3EA7
accent
#40E8D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227218

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

Preview Lab → · Contrast checker → · Palette generator →

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