#228B50#228B50

#228B50 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.130 H 153.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228B50
RGBrgb(34, 139, 80)
HSLhsl(146, 61%, 34%)
HSVhsv(146, 76%, 55%)
CMYKcmyk(75.5%, 0%, 42.4%, 45.5%)
CIE-LABlab(51.13, -43.22, 23.36)
CIE-LCHlch(51.13, 49.13, 151.61°)
OKLaboklab(56.4% -0.1164 0.058)
OKLCHoklch(56.4% 0.13 153.5)
XYZxyz(11.3392, 19.3832, 10.7316)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B50 #8B225D
analogous
#288B22 #228B50 #228B85
triadic
#228B50 #50228B #8B5022
tetradic
#228B50 #22288B #8B225D #8B8522
square
#228B50 #22288B #8B225D #8B8522
split-complementary
#228B50 #85228B #8B2228
monochromatic
#0A2917 #165A34 #228B50 #2EBC6C #53D58C

Accessibility & contrast

On white

4.31
#228B50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#228B50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B50
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B50#FFFFFF#000000##000000
##228B501.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4C
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b50;
/* rgb */ color: rgb(34, 139, 80);
/* oklch */ color: oklch(56.4% 0.130 153.5);
Tailwind
colors: {
  custom: {
    50: '#6eae82',
    500: '#228b50',
    950: '#000000',
  },
}
SCSS
$custom: #228b50;
$custom-light: #6eae82;
$custom-dark: #000000;
JSON
{
  "hex": "#228b50",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 80
  },
  "hsl": {
    "h": 146.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.13008,
    "h": 153.5
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#228B50
secondary
#B8508B
accent
#449EE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B50

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

Preview Lab → · Contrast checker → · Palette generator →

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