#228840#228840

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

Color values

HEX#228840
RGBrgb(34, 136, 64)
HSLhsl(138, 60%, 33%)
HSVhsv(138, 75%, 53%)
CMYKcmyk(75%, 0%, 52.9%, 46.7%)
CIE-LABlab(49.88, -44.90, 30.39)
CIE-LCHlch(49.88, 54.22, 145.91°)
OKLaboklab(55.29% -0.1208 0.0734)
OKLCHoklch(55.29% 0.141 148.7)
XYZxyz(10.3884, 18.3174, 7.8376)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228840 #88226A
analogous
#378822 #228840 #228873
triadic
#228840 #402288 #884022
tetradic
#228840 #223788 #88226A #887322
square
#228840 #223788 #88226A #887322
split-complementary
#228840 #732288 #882237
monochromatic
#0A2612 #165729 #228840 #2EB957 #51D377

Accessibility & contrast

On white

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

On black

4.66
#228840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228840
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228840#FFFFFF#000000##000000
##2288401.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228840;
/* rgb */ color: rgb(34, 136, 64);
/* oklch */ color: oklch(55.3% 0.141 148.7);
Tailwind
colors: {
  custom: {
    50: '#6dac76',
    500: '#228840',
    950: '#000000',
  },
}
SCSS
$custom: #228840;
$custom-light: #6dac76;
$custom-dark: #000000;
JSON
{
  "hex": "#228840",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 137.647,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.14136,
    "h": 148.7
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#228840
secondary
#B74F98
accent
#45B5E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228840

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

Preview Lab → · Contrast checker → · Palette generator →

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