#228D38#228D38

#228D38 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.155 H 146.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228D38
RGBrgb(34, 141, 56)
HSLhsl(132, 61%, 34%)
HSVhsv(132, 76%, 55%)
CMYKcmyk(75.9%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.47, -47.90, 36.34)
CIE-LCHlch(51.47, 60.13, 142.81°)
OKLaboklab(56.57% -0.1291 0.0859)
OKLCHoklch(56.57% 0.155 146.3)
XYZxyz(10.8976, 19.6741, 6.9638)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D38 #8D2277
analogous
#428D22 #228D38 #228D6E
triadic
#228D38 #38228D #8D3822
tetradic
#228D38 #22428D #8D2277 #8D6E22
square
#228D38 #22428D #8D2277 #8D6E22
split-complementary
#228D38 #6E228D #8D2242
monochromatic
#0A2A11 #165C24 #228D38 #2EBE4C #54D66E

Accessibility & contrast

On white

4.26
#228D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#228D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D38
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D38#FFFFFF#000000##000000
##228D381.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#83773F
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d38;
/* rgb */ color: rgb(34, 141, 56);
/* oklch */ color: oklch(56.6% 0.155 146.3);
Tailwind
colors: {
  custom: {
    50: '#6faf71',
    500: '#228d38',
    950: '#000000',
  },
}
SCSS
$custom: #228d38;
$custom-light: #6faf71;
$custom-dark: #000000;
JSON
{
  "hex": "#228d38",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 132.336,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.15506,
    "h": 146.3
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#228D38
secondary
#B951A4
accent
#44C3E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D38

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

Preview Lab → · Contrast checker → · Palette generator →

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