#228148#228148

#228148 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.124 H 152.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228148
RGBrgb(34, 129, 72)
HSLhsl(144, 58%, 32%)
HSVhsv(144, 74%, 51%)
CMYKcmyk(73.6%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.63, -40.79, 23.22)
CIE-LCHlch(47.63, 46.94, 150.35°)
OKLaboklab(53.47% -0.1099 0.0574)
OKLCHoklch(53.47% 0.124 152.4)
XYZxyz(9.6788, 16.5074, 8.8058)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228148 #81225B
analogous
#2C8122 #228148 #228178
triadic
#228148 #482281 #814822
tetradic
#228148 #222C81 #81225B #817822
square
#228148 #222C81 #81225B #817822
split-complementary
#228148 #782281 #81222C
monochromatic
#082012 #15512D #228148 #2FB163 #4DD082

Accessibility & contrast

On white

4.88
#228148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#228148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228148
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228148#FFFFFF#000000##FFFFFF
##2281481.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228148;
/* rgb */ color: rgb(34, 129, 72);
/* oklch */ color: oklch(53.5% 0.124 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ba67b',
    500: '#228148',
    950: '#000000',
  },
}
SCSS
$custom: #228148;
$custom-light: #6ba67b;
$custom-dark: #000000;
JSON
{
  "hex": "#228148",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 144,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.12399,
    "h": 152.4
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#228148
secondary
#B34B8A
accent
#46A3E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228148

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

Preview Lab → · Contrast checker → · Palette generator →

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