#228D46#228D46

#228D46 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.142 H 149.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228D46
RGBrgb(34, 141, 70)
HSLhsl(140, 61%, 34%)
HSVhsv(140, 76%, 55%)
CMYKcmyk(75.9%, 0%, 50.4%, 44.7%)
CIE-LABlab(51.65, -45.80, 29.43)
CIE-LCHlch(51.65, 54.43, 147.28°)
OKLaboklab(56.77% -0.1231 0.0716)
OKLCHoklch(56.77% 0.142 149.8)
XYZxyz(11.2891, 19.8307, 9.0259)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D46 #8D2269
analogous
#348D22 #228D46 #228D7C
triadic
#228D46 #46228D #8D4622
tetradic
#228D46 #22348D #8D2269 #8D7C22
square
#228D46 #22348D #8D2269 #8D7C22
split-complementary
#228D46 #7C228D #8D2234
monochromatic
#0A2A15 #165C2E #228D46 #2EBE5E #54D67F

Accessibility & contrast

On white

4.23
#228D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#228D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D46
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D46#FFFFFF#000000##000000
##228D461.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8040
Deuteranopia (green-blind)
#81784B
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d46;
/* rgb */ color: rgb(34, 141, 70);
/* oklch */ color: oklch(56.8% 0.142 149.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf7b',
    500: '#228d46',
    950: '#000000',
  },
}
SCSS
$custom: #228d46;
$custom-light: #6eaf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228d46",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 140.187,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.14242,
    "h": 149.8
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#228D46
secondary
#B95196
accent
#44AEE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D46

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

Preview Lab → · Contrast checker → · Palette generator →

#228D46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva