#228A50#228A50

#228A50 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.129 H 153.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228A50
RGBrgb(34, 138, 80)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 54%)
CMYKcmyk(75.4%, 0%, 42%, 45.9%)
CIE-LABlab(50.80, -42.83, 22.92)
CIE-LCHlch(50.80, 48.58, 151.84°)
OKLaboklab(56.13% -0.1154 0.0569)
OKLCHoklch(56.13% 0.129 153.7)
XYZxyz(11.1951, 19.0949, 10.6835)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A50 #8A225C
analogous
#288A22 #228A50 #228A84
triadic
#228A50 #50228A #8A5022
tetradic
#228A50 #22288A #8A225C #8A8422
square
#228A50 #22288A #8A225C #8A8422
split-complementary
#228A50 #84228A #8A2228
monochromatic
#0A2817 #165934 #228A50 #2EBB6C #52D48C

Accessibility & contrast

On white

4.36
#228A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#228A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A50
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A50#FFFFFF#000000##000000
##228A501.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4C
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a50;
/* rgb */ color: rgb(34, 138, 80);
/* oklch */ color: oklch(56.1% 0.129 153.7);
Tailwind
colors: {
  custom: {
    50: '#6dad81',
    500: '#228a50',
    950: '#000000',
  },
}
SCSS
$custom: #228a50;
$custom-light: #6dad81;
$custom-dark: #000000;
JSON
{
  "hex": "#228a50",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 146.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.1287,
    "h": 153.7
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#228A50
secondary
#B8508A
accent
#449DE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228A50

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

Preview Lab → · Contrast checker → · Palette generator →

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