#228618#228618

#228618 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.168 H 141.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228618
RGBrgb(34, 134, 24)
HSLhsl(115, 70%, 31%)
HSVhsv(115, 82%, 53%)
CMYKcmyk(74.6%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.83, -48.63, 46.76)
CIE-LCHlch(48.83, 67.46, 136.12°)
OKLaboklab(54.3% -0.1325 0.104)
OKLCHoklch(54.3% 0.168 141.9)
XYZxyz(9.3491, 17.4552, 3.7404)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228618 #7C1886
analogous
#598618 #228618 #188645
triadic
#228618 #182286 #861822
tetradic
#228618 #185986 #7C1886 #864518
square
#228618 #185986 #7C1886 #864518
split-complementary
#228618 #451886 #861859
monochromatic
#081E05 #15520F #228618 #2FBA21 #4BDC3C

Accessibility & contrast

On white

4.68
#228618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#228618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228618
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228618#FFFFFF#000000##FFFFFF
##2286181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#018272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228618;
/* rgb */ color: rgb(34, 134, 24);
/* oklch */ color: oklch(54.3% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#6faa5f',
    500: '#228618',
    950: '#000000',
  },
}
SCSS
$custom: #228618;
$custom-light: #6faa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#228618",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 114.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.16846,
    "h": 141.9
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#228618
secondary
#AF40BA
accent
#3BECDC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #228618

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

Preview Lab → · Contrast checker → · Palette generator →

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