#228918#228918

#228918 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.172 H 141.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228918
RGBrgb(34, 137, 24)
HSLhsl(115, 70%, 32%)
HSVhsv(115, 82%, 54%)
CMYKcmyk(75.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.85, -49.63, 47.72)
CIE-LCHlch(49.85, 68.86, 136.13°)
OKLaboklab(55.15% -0.1352 0.1061)
OKLCHoklch(55.15% 0.172 141.9)
XYZxyz(9.7697, 18.2962, 3.8806)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228918 #7F1889
analogous
#5B8918 #228918 #188947
triadic
#228918 #182289 #891822
tetradic
#228918 #185B89 #7F1889 #894718
square
#228918 #185B89 #7F1889 #894718
split-complementary
#228918 #471889 #89185B
monochromatic
#082106 #15550F #228918 #2FBD21 #4CDD3E

Accessibility & contrast

On white

4.51
#228918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#228918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228918
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228918#FFFFFF#000000##000000
##2289181.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228918;
/* rgb */ color: rgb(34, 137, 24);
/* oklch */ color: oklch(55.1% 0.172 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fac5f',
    500: '#228918',
    950: '#000000',
  },
}
SCSS
$custom: #228918;
$custom-light: #6fac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#228918",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 114.69,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.17185,
    "h": 141.9
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#228918
secondary
#B240BD
accent
#3BEDDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #228918

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

Preview Lab → · Contrast checker → · Palette generator →

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