#228E3D#228E3D

#228E3D is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.152 H 147.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228E3D
RGBrgb(34, 142, 61)
HSLhsl(135, 61%, 35%)
HSVhsv(135, 76%, 56%)
CMYKcmyk(76.1%, 0%, 57%, 44.3%)
CIE-LABlab(51.86, -47.57, 34.33)
CIE-LCHlch(51.86, 58.66, 144.18°)
OKLaboklab(56.92% -0.128 0.082)
OKLCHoklch(56.92% 0.152 147.4)
XYZxyz(11.1741, 20.0217, 7.6896)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E3D #8E2273
analogous
#3D8E22 #228E3D #228E73
triadic
#228E3D #3D228E #8E3D22
tetradic
#228E3D #223D8E #8E2273 #8E7322
square
#228E3D #223D8E #8E2273 #8E7322
split-complementary
#228E3D #73228E #8E223D
monochromatic
#0A2B13 #165D28 #228E3D #2EBF52 #54D675

Accessibility & contrast

On white

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

On black

5.00
#228E3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E3D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E3D#FFFFFF#000000##000000
##228E3D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908135
Deuteranopia (green-blind)
#837843
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e3d;
/* rgb */ color: rgb(34, 142, 61);
/* oklch */ color: oklch(56.9% 0.152 147.4);
Tailwind
colors: {
  custom: {
    50: '#6fb075',
    500: '#228e3d',
    950: '#000000',
  },
}
SCSS
$custom: #228e3d;
$custom-light: #6fb075;
$custom-dark: #000000;
JSON
{
  "hex": "#228e3d",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 61
  },
  "hsl": {
    "h": 135,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.152,
    "h": 147.4
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#228E3D
secondary
#BA52A0
accent
#43BCE4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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