#228348#228348

#228348 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.127 H 152.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#228348
RGBrgb(34, 131, 72)
HSLhsl(144, 59%, 32%)
HSVhsv(144, 74%, 51%)
CMYKcmyk(74%, 0%, 45%, 48.6%)
CIE-LABlab(48.31, -41.59, 24.10)
CIE-LCHlch(48.31, 48.07, 149.91°)
OKLaboklab(54.03% -0.112 0.0595)
OKLCHoklch(54.03% 0.127 152)
XYZxyz(9.9448, 17.0394, 8.8945)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228348 #83225D
analogous
#2D8322 #228348 #228379
triadic
#228348 #482283 #834822
tetradic
#228348 #222D83 #83225D #837922
square
#228348 #222D83 #83225D #837922
split-complementary
#228348 #792283 #83222D
monochromatic
#092213 #15522D #228348 #2FB463 #4ED182

Accessibility & contrast

On white

4.76
#228348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#228348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228348
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228348#FFFFFF#000000##FFFFFF
##2283481.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837844
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228348;
/* rgb */ color: rgb(34, 131, 72);
/* oklch */ color: oklch(54.0% 0.127 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ca87c',
    500: '#228348',
    950: '#000000',
  },
}
SCSS
$custom: #228348;
$custom-light: #6ca87c;
$custom-dark: #000000;
JSON
{
  "hex": "#228348",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 143.505,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.1268,
    "h": 152
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#228348
secondary
#B44C8C
accent
#46A5E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228348

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

Preview Lab → · Contrast checker → · Palette generator →

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