#227618#227618

#227618 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.150 H 141.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#227618
RGBrgb(34, 118, 24)
HSLhsl(114, 66%, 28%)
HSVhsv(114, 80%, 46%)
CMYKcmyk(71.2%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.30, -43.06, 41.45)
CIE-LCHlch(43.30, 59.77, 136.09°)
OKLaboklab(49.71% -0.1174 0.093)
OKLCHoklch(49.71% 0.15 141.6)
XYZxyz(7.3026, 13.3621, 3.0583)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227618 #6C1876
analogous
#517618 #227618 #18763D
triadic
#227618 #182276 #761822
tetradic
#227618 #185176 #6C1876 #763D18
square
#227618 #185176 #6C1876 #763D18
split-complementary
#227618 #3D1876 #761851
monochromatic
#071905 #13430E #227618 #31A922 #44D533

Accessibility & contrast

On white

5.72
#227618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#227618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227618
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227618#FFFFFF#000000##FFFFFF
##2276181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#0E7264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227618;
/* rgb */ color: rgb(34, 118, 24);
/* oklch */ color: oklch(49.7% 0.150 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9e5d',
    500: '#227618',
    950: '#000000',
  },
}
SCSS
$custom: #227618;
$custom-light: #6b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#227618",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 113.617,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.14979,
    "h": 141.6
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#227618
secondary
#A03FAB
accent
#3FE9D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227618

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

Preview Lab → · Contrast checker → · Palette generator →

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