#228837#228837

#228837 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.149 H 146.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#228837
RGBrgb(34, 136, 55)
HSLhsl(132, 60%, 33%)
HSVhsv(132, 75%, 53%)
CMYKcmyk(75%, 0%, 59.6%, 46.7%)
CIE-LABlab(49.77, -46.23, 34.84)
CIE-LCHlch(49.77, 57.89, 143.00°)
OKLaboklab(55.16% -0.1246 0.0826)
OKLCHoklch(55.16% 0.149 146.5)
XYZxyz(10.1527, 18.2231, 6.5960)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228837 #882273
analogous
#408822 #228837 #22886A
triadic
#228837 #372288 #883722
tetradic
#228837 #224088 #882273 #886A22
square
#228837 #224088 #882273 #886A22
split-complementary
#228837 #6A2288 #882240
monochromatic
#0A260F #165723 #228837 #2EB94B #51D36C

Accessibility & contrast

On white

4.52
#228837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#228837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228837
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228837#FFFFFF#000000##000000
##2288371.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2F
Deuteranopia (green-blind)
#7E733D
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228837;
/* rgb */ color: rgb(34, 136, 55);
/* oklch */ color: oklch(55.2% 0.149 146.5);
Tailwind
colors: {
  custom: {
    50: '#6eac70',
    500: '#228837',
    950: '#000000',
  },
}
SCSS
$custom: #228837;
$custom-light: #6eac70;
$custom-dark: #000000;
JSON
{
  "hex": "#228837",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 132.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.14948,
    "h": 146.5
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#228837
secondary
#B74FA2
accent
#45C3E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228837

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

Preview Lab → · Contrast checker → · Palette generator →

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