#228E50#228E50

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

Color values

HEX#228E50
RGBrgb(34, 142, 80)
HSLhsl(146, 61%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(76.1%, 0%, 43.7%, 44.3%)
CIE-LABlab(52.13, -44.39, 24.67)
CIE-LCHlch(52.13, 50.79, 150.94°)
OKLaboklab(57.23% -0.1195 0.061)
OKLCHoklch(57.23% 0.134 152.9)
XYZxyz(11.7796, 20.2639, 10.8784)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E50 #8E2260
analogous
#2A8E22 #228E50 #228E86
triadic
#228E50 #50228E #8E5022
tetradic
#228E50 #222A8E #8E2260 #8E8622
square
#228E50 #222A8E #8E2260 #8E8622
split-complementary
#228E50 #86228E #8E222A
monochromatic
#0A2B18 #165D34 #228E50 #2EBF6C #54D68C

Accessibility & contrast

On white

4.16
#228E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E50
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E50#FFFFFF#000000##000000
##228E501.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824C
Deuteranopia (green-blind)
#817954
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e50;
/* rgb */ color: rgb(34, 142, 80);
/* oklch */ color: oklch(57.2% 0.134 152.9);
Tailwind
colors: {
  custom: {
    50: '#6eb082',
    500: '#228e50',
    950: '#000000',
  },
}
SCSS
$custom: #228e50;
$custom-light: #6eb082;
$custom-dark: #000000;
JSON
{
  "hex": "#228e50",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 80
  },
  "hsl": {
    "h": 145.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.1342,
    "h": 152.9
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#228E50
secondary
#BA528E
accent
#43A0E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E50

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

Preview Lab → · Contrast checker → · Palette generator →

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