#228F3D#228F3D

#228F3D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.153 H 147.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#228F3D
RGBrgb(34, 143, 61)
HSLhsl(135, 62%, 35%)
HSVhsv(135, 76%, 56%)
CMYKcmyk(76.2%, 0%, 57.3%, 43.9%)
CIE-LABlab(52.20, -47.93, 34.73)
CIE-LCHlch(52.20, 59.19, 144.07°)
OKLaboklab(57.19% -0.129 0.0828)
OKLCHoklch(57.19% 0.153 147.3)
XYZxyz(11.3236, 20.3206, 7.7395)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F3D #8F2274
analogous
#3E8F22 #228F3D #228F73
triadic
#228F3D #3D228F #8F3D22
tetradic
#228F3D #223E8F #8F2274 #8F7322
square
#228F3D #223E8F #8F2274 #8F7322
split-complementary
#228F3D #73228F #8F223E
monochromatic
#0A2C13 #165E28 #228F3D #2EC052 #55D775

Accessibility & contrast

On white

4.15
#228F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#228F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F3D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F3D#FFFFFF#000000##000000
##228F3D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918235
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f3d;
/* rgb */ color: rgb(34, 143, 61);
/* oklch */ color: oklch(57.2% 0.153 147.3);
Tailwind
colors: {
  custom: {
    50: '#6fb175',
    500: '#228f3d',
    950: '#000000',
  },
}
SCSS
$custom: #228f3d;
$custom-light: #6fb175;
$custom-dark: #000000;
JSON
{
  "hex": "#228f3d",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 134.862,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.15329,
    "h": 147.3
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#228F3D
secondary
#BA52A1
accent
#43BDE5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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