#228841#228841

#228841 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.140 H 149.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228841
RGBrgb(34, 136, 65)
HSLhsl(138, 60%, 33%)
HSVhsv(138, 75%, 53%)
CMYKcmyk(75%, 0%, 52.2%, 46.7%)
CIE-LABlab(49.89, -44.74, 29.88)
CIE-LCHlch(49.89, 53.80, 146.26°)
OKLaboklab(55.3% -0.1203 0.0723)
OKLCHoklch(55.3% 0.14 149)
XYZxyz(10.4172, 18.3289, 7.9888)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228841 #882269
analogous
#368822 #228841 #228874
triadic
#228841 #412288 #884122
tetradic
#228841 #223688 #882269 #887422
square
#228841 #223688 #882269 #887422
split-complementary
#228841 #742288 #882236
monochromatic
#0A2612 #16572A #228841 #2EB958 #51D379

Accessibility & contrast

On white

4.50
#228841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#228841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228841
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228841#FFFFFF#000000##000000
##2288411.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228841;
/* rgb */ color: rgb(34, 136, 65);
/* oklch */ color: oklch(55.3% 0.140 149.0);
Tailwind
colors: {
  custom: {
    50: '#6dac77',
    500: '#228841',
    950: '#000000',
  },
}
SCSS
$custom: #228841;
$custom-light: #6dac77;
$custom-dark: #000000;
JSON
{
  "hex": "#228841",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 65
  },
  "hsl": {
    "h": 138.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.14041,
    "h": 149
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#228841
secondary
#B74F97
accent
#45B3E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228841

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

Preview Lab → · Contrast checker → · Palette generator →

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