#228950#228950

#228950 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.127 H 154.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#228950
RGBrgb(34, 137, 80)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 54%)
CMYKcmyk(75.2%, 0%, 41.6%, 46.3%)
CIE-LABlab(50.46, -42.43, 22.48)
CIE-LCHlch(50.46, 48.02, 152.08°)
OKLaboklab(55.85% -0.1144 0.0559)
OKLCHoklch(55.85% 0.127 154)
XYZxyz(11.0523, 18.8093, 10.6359)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228950 #89225B
analogous
#278922 #228950 #228983
triadic
#228950 #502289 #895022
tetradic
#228950 #222789 #89225B #898322
square
#228950 #222789 #89225B #898322
split-complementary
#228950 #832289 #892227
monochromatic
#0A2717 #165833 #228950 #2EBA6D #51D48C

Accessibility & contrast

On white

4.41
#228950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#228950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228950
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228950#FFFFFF#000000##000000
##2289501.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D4C
Deuteranopia (green-blind)
#7C7554
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228950;
/* rgb */ color: rgb(34, 137, 80);
/* oklch */ color: oklch(55.9% 0.127 154.0);
Tailwind
colors: {
  custom: {
    50: '#6dac81',
    500: '#228950',
    950: '#000000',
  },
}
SCSS
$custom: #228950;
$custom-light: #6dac81;
$custom-dark: #000000;
JSON
{
  "hex": "#228950",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 146.796,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.12732,
    "h": 154
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#228950
secondary
#B84F89
accent
#449CE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228950

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

Preview Lab → · Contrast checker → · Palette generator →

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