#228648#228648

#228648 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.131 H 151.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228648
RGBrgb(34, 134, 72)
HSLhsl(143, 60%, 33%)
HSVhsv(143, 75%, 53%)
CMYKcmyk(74.6%, 0%, 46.3%, 47.5%)
CIE-LABlab(49.32, -42.77, 25.40)
CIE-LCHlch(49.32, 49.74, 149.29°)
OKLaboklab(54.86% -0.1151 0.0625)
OKLCHoklch(54.86% 0.131 151.5)
XYZxyz(10.3536, 17.8570, 9.0307)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228648 #862260
analogous
#2E8622 #228648 #22867A
triadic
#228648 #482286 #864822
tetradic
#228648 #222E86 #862260 #867A22
square
#228648 #222E86 #862260 #867A22
split-complementary
#228648 #7A2286 #86222E
monochromatic
#092414 #16552E #228648 #2EB762 #50D382

Accessibility & contrast

On white

4.59
#228648 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#228648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228648
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228648#FFFFFF#000000##FFFFFF
##2286481.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7A724C
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228648;
/* rgb */ color: rgb(34, 134, 72);
/* oklch */ color: oklch(54.9% 0.131 151.5);
Tailwind
colors: {
  custom: {
    50: '#6daa7c',
    500: '#228648',
    950: '#000000',
  },
}
SCSS
$custom: #228648;
$custom-light: #6daa7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228648",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 72
  },
  "hsl": {
    "h": 142.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.13097,
    "h": 151.5
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#228648
secondary
#B64E8E
accent
#45A7E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228648

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

Preview Lab → · Contrast checker → · Palette generator →

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