#228E45#228E45

#228E45 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.145 H 149.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228E45
RGBrgb(34, 142, 69)
HSLhsl(139, 61%, 35%)
HSVhsv(139, 76%, 56%)
CMYKcmyk(76.1%, 0%, 51.4%, 44.3%)
CIE-LABlab(51.97, -46.34, 30.35)
CIE-LCHlch(51.97, 55.39, 146.77°)
OKLaboklab(57.04% -0.1246 0.0736)
OKLCHoklch(57.04% 0.145 149.4)
XYZxyz(11.4059, 20.1144, 8.9104)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E45 #8E226B
analogous
#358E22 #228E45 #228E7B
triadic
#228E45 #45228E #8E4522
tetradic
#228E45 #22358E #8E226B #8E7B22
square
#228E45 #22358E #8E226B #8E7B22
split-complementary
#228E45 #7B228E #8E2235
monochromatic
#0A2B15 #165D2D #228E45 #2EBF5D #54D67E

Accessibility & contrast

On white

4.18
#228E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E45
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E45#FFFFFF#000000##000000
##228E451.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813F
Deuteranopia (green-blind)
#83784A
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e45;
/* rgb */ color: rgb(34, 142, 69);
/* oklch */ color: oklch(57.0% 0.145 149.4);
Tailwind
colors: {
  custom: {
    50: '#6fb07a',
    500: '#228e45',
    950: '#000000',
  },
}
SCSS
$custom: #228e45;
$custom-light: #6fb07a;
$custom-dark: #000000;
JSON
{
  "hex": "#228e45",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 139.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.14471,
    "h": 149.4
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#228E45
secondary
#BA5298
accent
#43B0E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E45

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

Preview Lab → · Contrast checker → · Palette generator →

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