#2B8752#2B8752

#2B8752 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.6% C 0.119 H 154.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B8752
RGBrgb(43, 135, 82)
HSLhsl(145, 52%, 35%)
HSVhsv(145, 68%, 53%)
CMYKcmyk(68.1%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.04, -39.64, 20.84)
CIE-LCHlch(50.04, 44.79, 152.27°)
OKLaboklab(55.57% -0.1072 0.0521)
OKLCHoklch(55.57% 0.119 154.1)
XYZxyz(11.1823, 18.4495, 10.9528)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8752 #872B60
analogous
#32872B #2B8752 #2B8780
triadic
#2B8752 #522B87 #87522B
tetradic
#2B8752 #2B3287 #872B60 #87802B
square
#2B8752 #2B3287 #872B60 #87802B
split-complementary
#2B8752 #802B87 #872B32
monochromatic
#0D2A1A #1C5936 #2B8752 #3AB56E #60CC8E

Accessibility & contrast

On white

4.48
#2B8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2B8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8752
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8752#FFFFFF#000000##000000
##2B87521.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#00857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8752;
/* rgb */ color: rgb(43, 135, 82);
/* oklch */ color: oklch(55.6% 0.119 154.1);
Tailwind
colors: {
  custom: {
    50: '#70ab83',
    500: '#2b8752',
    950: '#000000',
  },
}
SCSS
$custom: #2b8752;
$custom-light: #70ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8752",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 145.435,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.11916,
    "h": 154.1
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#2B8752
secondary
#B25B8E
accent
#4D9FDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8752

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

Preview Lab → · Contrast checker → · Palette generator →

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