#2B8852#2B8852

#2B8852 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.121 H 153.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B8852
RGBrgb(43, 136, 82)
HSLhsl(145, 52%, 35%)
HSVhsv(145, 68%, 53%)
CMYKcmyk(68.4%, 0%, 39.7%, 46.7%)
CIE-LABlab(50.37, -40.06, 21.28)
CIE-LCHlch(50.37, 45.36, 152.02°)
OKLaboklab(55.84% -0.1083 0.0531)
OKLCHoklch(55.84% 0.121 153.9)
XYZxyz(11.3224, 18.7299, 10.9995)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8852 #882B61
analogous
#33882B #2B8852 #2B8880
triadic
#2B8852 #522B88 #88522B
tetradic
#2B8852 #2B3388 #882B61 #88802B
square
#2B8852 #2B3388 #882B61 #88802B
split-complementary
#2B8852 #802B88 #882B33
monochromatic
#0E2B1A #1C5A36 #2B8852 #3AB66E #61CD8E

Accessibility & contrast

On white

4.42
#2B8852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2B8852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8852
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8852#FFFFFF#000000##000000
##2B88521.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8852;
/* rgb */ color: rgb(43, 136, 82);
/* oklch */ color: oklch(55.8% 0.121 153.9);
Tailwind
colors: {
  custom: {
    50: '#70ab83',
    500: '#2b8852',
    950: '#000000',
  },
}
SCSS
$custom: #2b8852;
$custom-light: #70ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8852",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 82
  },
  "hsl": {
    "h": 145.161,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.12059,
    "h": 153.9
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#2B8852
secondary
#B35C8E
accent
#4C9FDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8852

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

Preview Lab → · Contrast checker → · Palette generator →

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