#2B8840#2B8840

#2B8840 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.138 H 147.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B8840
RGBrgb(43, 136, 64)
HSLhsl(134, 52%, 35%)
HSVhsv(134, 68%, 53%)
CMYKcmyk(68.4%, 0%, 52.9%, 46.7%)
CIE-LABlab(50.09, -43.24, 30.69)
CIE-LCHlch(50.09, 53.02, 144.63°)
OKLaboklab(55.52% -0.1166 0.0741)
OKLCHoklch(55.52% 0.138 147.6)
XYZxyz(10.7251, 18.4909, 7.8534)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8840 #882B73
analogous
#45882B #2B8840 #2B886E
triadic
#2B8840 #402B88 #88402B
tetradic
#2B8840 #2B4588 #882B73 #886E2B
square
#2B8840 #2B4588 #882B73 #886E2B
split-complementary
#2B8840 #6E2B88 #882B45
monochromatic
#0E2B14 #1C5A2A #2B8840 #3AB656 #61CD79

Accessibility & contrast

On white

4.47
#2B8840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2B8840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8840
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8840#FFFFFF#000000##000000
##2B88401.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#078577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8840;
/* rgb */ color: rgb(43, 136, 64);
/* oklch */ color: oklch(55.5% 0.138 147.6);
Tailwind
colors: {
  custom: {
    50: '#71ac76',
    500: '#2b8840',
    950: '#000000',
  },
}
SCSS
$custom: #2b8840;
$custom-light: #71ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8840",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 133.548,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.13816,
    "h": 147.6
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#2B8840
secondary
#B35C9F
accent
#4CBBDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8840

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

Preview Lab → · Contrast checker → · Palette generator →

#2B8840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva