#227418#227418

#227418 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.147 H 141.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#227418
RGBrgb(34, 116, 24)
HSLhsl(113, 66%, 27%)
HSVhsv(113, 79%, 45%)
CMYKcmyk(70.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.61, -42.34, 40.77)
CIE-LCHlch(42.61, 58.78, 136.08°)
OKLaboklab(49.13% -0.1155 0.0915)
OKLCHoklch(49.13% 0.147 141.6)
XYZxyz(7.0696, 12.8961, 2.9806)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227418 #6A1874
analogous
#507418 #227418 #18743C
triadic
#227418 #182274 #741822
tetradic
#227418 #185074 #6A1874 #743C18
square
#227418 #185074 #6A1874 #743C18
split-complementary
#227418 #3C1874 #741850
monochromatic
#071905 #13410E #227418 #31A722 #44D532

Accessibility & contrast

On white

5.87
#227418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#227418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227418
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227418#FFFFFF#000000##FFFFFF
##2274181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#107063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227418;
/* rgb */ color: rgb(34, 116, 24);
/* oklch */ color: oklch(49.1% 0.147 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9d5c',
    500: '#227418',
    950: '#000000',
  },
}
SCSS
$custom: #227418;
$custom-light: #6a9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227418",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 113.478,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.14738,
    "h": 141.6
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#227418
secondary
#9E3FA9
accent
#3FE9D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227418

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

Preview Lab → · Contrast checker → · Palette generator →

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