#228941#228941

#228941 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.142 H 148.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228941
RGBrgb(34, 137, 65)
HSLhsl(138, 60%, 34%)
HSVhsv(138, 75%, 54%)
CMYKcmyk(75.2%, 0%, 52.6%, 46.3%)
CIE-LABlab(50.23, -45.12, 30.30)
CIE-LCHlch(50.23, 54.34, 146.12°)
OKLaboklab(55.58% -0.1214 0.0733)
OKLCHoklch(55.58% 0.142 148.9)
XYZxyz(10.5586, 18.6118, 8.0360)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228941 #89226A
analogous
#368922 #228941 #228974
triadic
#228941 #412289 #894122
tetradic
#228941 #223689 #89226A #897422
square
#228941 #223689 #89226A #897422
split-complementary
#228941 #742289 #892236
monochromatic
#0A2712 #16582A #228941 #2EBA58 #51D479

Accessibility & contrast

On white

4.45
#228941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#228941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228941
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228941#FFFFFF#000000##000000
##2289411.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228941;
/* rgb */ color: rgb(34, 137, 65);
/* oklch */ color: oklch(55.6% 0.142 148.9);
Tailwind
colors: {
  custom: {
    50: '#6dac77',
    500: '#228941',
    950: '#000000',
  },
}
SCSS
$custom: #228941;
$custom-light: #6dac77;
$custom-dark: #000000;
JSON
{
  "hex": "#228941",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 138.058,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.14176,
    "h": 148.9
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#228941
secondary
#B84F98
accent
#44B4E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228941

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

Preview Lab → · Contrast checker → · Palette generator →

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