#228E38#228E38

#228E38 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.156 H 146.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228E38
RGBrgb(34, 142, 56)
HSLhsl(132, 61%, 35%)
HSVhsv(132, 76%, 56%)
CMYKcmyk(76.1%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.80, -48.26, 36.73)
CIE-LCHlch(51.80, 60.65, 142.72°)
OKLaboklab(56.85% -0.13 0.0868)
OKLCHoklch(56.85% 0.156 146.3)
XYZxyz(11.0457, 19.9703, 7.0131)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E38 #8E2278
analogous
#428E22 #228E38 #228E6E
triadic
#228E38 #38228E #8E3822
tetradic
#228E38 #22428E #8E2278 #8E6E22
square
#228E38 #22428E #8E2278 #8E6E22
split-complementary
#228E38 #6E228E #8E2242
monochromatic
#0A2B11 #165D25 #228E38 #2EBF4B #54D66F

Accessibility & contrast

On white

4.20
#228E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E38
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E38#FFFFFF#000000##000000
##228E381.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e38;
/* rgb */ color: rgb(34, 142, 56);
/* oklch */ color: oklch(56.8% 0.156 146.3);
Tailwind
colors: {
  custom: {
    50: '#6fb071',
    500: '#228e38',
    950: '#000000',
  },
}
SCSS
$custom: #228e38;
$custom-light: #6fb071;
$custom-dark: #000000;
JSON
{
  "hex": "#228e38",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 132.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.15633,
    "h": 146.3
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#228E38
secondary
#BA52A5
accent
#43C4E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E38

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

Preview Lab → · Contrast checker → · Palette generator →

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