#228948#228948

#228948 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.135 H 151.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#228948
RGBrgb(34, 137, 72)
HSLhsl(142, 60%, 34%)
HSVhsv(142, 75%, 54%)
CMYKcmyk(75.2%, 0%, 47.4%, 46.3%)
CIE-LABlab(50.33, -43.93, 26.70)
CIE-LCHlch(50.33, 51.41, 148.71°)
OKLaboklab(55.7% -0.1182 0.0654)
OKLCHoklch(55.7% 0.135 151)
XYZxyz(10.7741, 18.6980, 9.1709)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228948 #892263
analogous
#2F8922 #228948 #22897B
triadic
#228948 #482289 #894822
tetradic
#228948 #222F89 #892263 #897B22
square
#228948 #222F89 #892263 #897B22
split-complementary
#228948 #7B2289 #89222F
monochromatic
#0A2714 #16582E #228948 #2EBA62 #51D482

Accessibility & contrast

On white

4.43
#228948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#228948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228948
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228948#FFFFFF#000000##000000
##2289481.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D43
Deuteranopia (green-blind)
#7D744D
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228948;
/* rgb */ color: rgb(34, 137, 72);
/* oklch */ color: oklch(55.7% 0.135 151.0);
Tailwind
colors: {
  custom: {
    50: '#6dac7c',
    500: '#228948',
    950: '#000000',
  },
}
SCSS
$custom: #228948;
$custom-light: #6dac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228948",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 72
  },
  "hsl": {
    "h": 142.136,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.1351,
    "h": 151
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#228948
secondary
#B84F91
accent
#44A9E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228948

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

Preview Lab → · Contrast checker → · Palette generator →

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