#228050#228050

#228050 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.4% C 0.115 H 156.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228050
RGBrgb(34, 128, 80)
HSLhsl(149, 58%, 32%)
HSVhsv(149, 73%, 50%)
CMYKcmyk(73.4%, 0%, 37.5%, 49.8%)
CIE-LABlab(47.44, -38.78, 18.46)
CIE-LCHlch(47.44, 42.95, 154.54°)
OKLaboklab(53.36% -0.1049 0.0463)
OKLCHoklch(53.36% 0.115 156.2)
XYZxyz(9.8259, 16.3565, 10.2271)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228050 #802252
analogous
#238022 #228050 #22807F
triadic
#228050 #502280 #805022
tetradic
#228050 #222380 #802252 #807F22
square
#228050 #222380 #802252 #807F22
split-complementary
#228050 #7F2280 #802223
monochromatic
#081F14 #155032 #228050 #2FB06E #4DD08D

Accessibility & contrast

On white

4.92
#228050 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#228050 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228050
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228050#FFFFFF#000000##FFFFFF
##2280501.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754D
Deuteranopia (green-blind)
#746D53
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228050;
/* rgb */ color: rgb(34, 128, 80);
/* oklch */ color: oklch(53.4% 0.115 156.2);
Tailwind
colors: {
  custom: {
    50: '#6ba681',
    500: '#228050',
    950: '#000000',
  },
}
SCSS
$custom: #228050;
$custom-light: #6ba681;
$custom-dark: #000000;
JSON
{
  "hex": "#228050",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 80
  },
  "hsl": {
    "h": 149.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.11468,
    "h": 156.2
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#228050
secondary
#B24B80
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #228050

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

Preview Lab → · Contrast checker → · Palette generator →

#228050 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva