#228845#228845

#228845 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.137 H 150.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228845
RGBrgb(34, 136, 69)
HSLhsl(141, 60%, 33%)
HSVhsv(141, 75%, 53%)
CMYKcmyk(75%, 0%, 49.3%, 46.7%)
CIE-LABlab(49.95, -44.07, 27.83)
CIE-LCHlch(49.95, 52.12, 147.73°)
OKLaboklab(55.37% -0.1185 0.0679)
OKLCHoklch(55.37% 0.137 150.2)
XYZxyz(10.5372, 18.3769, 8.6208)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228845 #882265
analogous
#328822 #228845 #228878
triadic
#228845 #452288 #884522
tetradic
#228845 #223288 #882265 #887822
square
#228845 #223288 #882265 #887822
split-complementary
#228845 #782288 #882232
monochromatic
#0A2613 #16572C #228845 #2EB95E #51D37E

Accessibility & contrast

On white

4.49
#228845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#228845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228845
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228845#FFFFFF#000000##000000
##2288451.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C40
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228845;
/* rgb */ color: rgb(34, 136, 69);
/* oklch */ color: oklch(55.4% 0.137 150.2);
Tailwind
colors: {
  custom: {
    50: '#6dac7a',
    500: '#228845',
    950: '#000000',
  },
}
SCSS
$custom: #228845;
$custom-light: #6dac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228845",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 69
  },
  "hsl": {
    "h": 140.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55368,
    "c": 0.13661,
    "h": 150.2
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#228845
secondary
#B74F93
accent
#45ADE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228845

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

Preview Lab → · Contrast checker → · Palette generator →

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