#228848#228848

#228848 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.134 H 151.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228848
RGBrgb(34, 136, 72)
HSLhsl(142, 60%, 33%)
HSVhsv(142, 75%, 53%)
CMYKcmyk(75%, 0%, 47.1%, 46.7%)
CIE-LABlab(50.00, -43.55, 26.27)
CIE-LCHlch(50.00, 50.85, 148.90°)
OKLaboklab(55.42% -0.1172 0.0644)
OKLCHoklch(55.42% 0.134 151.2)
XYZxyz(10.6326, 18.4151, 9.1237)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228848 #882262
analogous
#2F8822 #228848 #22887B
triadic
#228848 #482288 #884822
tetradic
#228848 #222F88 #882262 #887B22
square
#228848 #222F88 #882262 #887B22
split-complementary
#228848 #7B2288 #88222F
monochromatic
#0A2614 #16572E #228848 #2EB962 #51D382

Accessibility & contrast

On white

4.48
#228848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#228848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228848
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228848#FFFFFF#000000##000000
##2288481.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C43
Deuteranopia (green-blind)
#7C744C
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228848;
/* rgb */ color: rgb(34, 136, 72);
/* oklch */ color: oklch(55.4% 0.134 151.2);
Tailwind
colors: {
  custom: {
    50: '#6dac7c',
    500: '#228848',
    950: '#000000',
  },
}
SCSS
$custom: #228848;
$custom-light: #6dac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228848",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 72
  },
  "hsl": {
    "h": 142.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.13372,
    "h": 151.2
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#228848
secondary
#B74F90
accent
#45A8E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228848

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

Preview Lab → · Contrast checker → · Palette generator →

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