#228F45#228F45

#228F45 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.146 H 149.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#228F45
RGBrgb(34, 143, 69)
HSLhsl(139, 62%, 35%)
HSVhsv(139, 76%, 56%)
CMYKcmyk(76.2%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.30, -46.71, 30.77)
CIE-LCHlch(52.30, 55.93, 146.62°)
OKLaboklab(57.31% -0.1256 0.0745)
OKLCHoklch(57.31% 0.146 149.3)
XYZxyz(11.5554, 20.4133, 8.9602)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F45 #8F226C
analogous
#368F22 #228F45 #228F7C
triadic
#228F45 #45228F #8F4522
tetradic
#228F45 #22368F #8F226C #8F7C22
square
#228F45 #22368F #8F226C #8F7C22
split-complementary
#228F45 #7C228F #8F2236
monochromatic
#0A2C15 #165E2D #228F45 #2EC05D #55D77E

Accessibility & contrast

On white

4.13
#228F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#228F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F45
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F45#FFFFFF#000000##000000
##228F451.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f45;
/* rgb */ color: rgb(34, 143, 69);
/* oklch */ color: oklch(57.3% 0.146 149.3);
Tailwind
colors: {
  custom: {
    50: '#6fb17a',
    500: '#228f45',
    950: '#000000',
  },
}
SCSS
$custom: #228f45;
$custom-light: #6fb17a;
$custom-dark: #000000;
JSON
{
  "hex": "#228f45",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 139.266,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.14604,
    "h": 149.3
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#228F45
secondary
#BA5299
accent
#43B1E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F45

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

Preview Lab → · Contrast checker → · Palette generator →

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