#228D43#228D43

#228D43 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.145 H 149.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228D43
RGBrgb(34, 141, 67)
HSLhsl(139, 61%, 34%)
HSVhsv(139, 76%, 55%)
CMYKcmyk(75.9%, 0%, 52.5%, 44.7%)
CIE-LABlab(51.60, -46.29, 30.95)
CIE-LCHlch(51.60, 55.68, 146.23°)
OKLaboklab(56.73% -0.1245 0.0748)
OKLCHoklch(56.73% 0.145 149)
XYZxyz(11.1968, 19.7938, 8.5396)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D43 #8D226C
analogous
#368D22 #228D43 #228D79
triadic
#228D43 #43228D #8D4322
tetradic
#228D43 #22368D #8D226C #8D7922
square
#228D43 #22368D #8D226C #8D7922
split-complementary
#228D43 #79228D #8D2236
monochromatic
#0A2A14 #165C2C #228D43 #2EBE5A #54D67C

Accessibility & contrast

On white

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

On black

4.96
#228D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D43
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D43#FFFFFF#000000##000000
##228D431.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803D
Deuteranopia (green-blind)
#827848
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d43;
/* rgb */ color: rgb(34, 141, 67);
/* oklch */ color: oklch(56.7% 0.145 149.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf79',
    500: '#228d43',
    950: '#000000',
  },
}
SCSS
$custom: #228d43;
$custom-light: #6eaf79;
$custom-dark: #000000;
JSON
{
  "hex": "#228d43",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 138.505,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56726,
    "c": 0.14523,
    "h": 149
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#228D43
secondary
#B95199
accent
#44B3E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D43

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

Preview Lab → · Contrast checker → · Palette generator →

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