#228F50#228F50

#228F50 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.136 H 152.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#228F50
RGBrgb(34, 143, 80)
HSLhsl(145, 62%, 35%)
HSVhsv(145, 76%, 56%)
CMYKcmyk(76.2%, 0%, 44.1%, 43.9%)
CIE-LABlab(52.47, -44.78, 25.10)
CIE-LCHlch(52.47, 51.34, 150.73°)
OKLaboklab(57.5% -0.1205 0.062)
OKLCHoklch(57.5% 0.136 152.8)
XYZxyz(11.9290, 20.5628, 10.9282)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F50 #8F2261
analogous
#2B8F22 #228F50 #228F87
triadic
#228F50 #50228F #8F5022
tetradic
#228F50 #222B8F #8F2261 #8F8722
square
#228F50 #222B8F #8F2261 #8F8722
split-complementary
#228F50 #87228F #8F222B
monochromatic
#0A2C19 #165E34 #228F50 #2EC06C #55D78C

Accessibility & contrast

On white

4.11
#228F50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#228F50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F50
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F50#FFFFFF#000000##000000
##228F501.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834B
Deuteranopia (green-blind)
#827A54
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f50;
/* rgb */ color: rgb(34, 143, 80);
/* oklch */ color: oklch(57.5% 0.136 152.8);
Tailwind
colors: {
  custom: {
    50: '#6eb182',
    500: '#228f50',
    950: '#000000',
  },
}
SCSS
$custom: #228f50;
$custom-light: #6eb182;
$custom-dark: #000000;
JSON
{
  "hex": "#228f50",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 80
  },
  "hsl": {
    "h": 145.321,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.13557,
    "h": 152.8
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#228F50
secondary
#BA528F
accent
#43A0E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F50

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

Preview Lab → · Contrast checker → · Palette generator →

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