#2B8152#2B8152

#2B8152 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.110 H 155.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8152
RGBrgb(43, 129, 82)
HSLhsl(147, 50%, 34%)
HSVhsv(147, 67%, 51%)
CMYKcmyk(66.7%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.04, -37.11, 18.16)
CIE-LCHlch(48.04, 41.31, 153.92°)
OKLaboklab(53.92% -0.1006 0.0457)
OKLCHoklch(53.92% 0.11 155.6)
XYZxyz(10.3686, 16.8222, 10.6816)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8152 #812B5A
analogous
#2F812B #2B8152 #2B817D
triadic
#2B8152 #522B81 #81522B
tetradic
#2B8152 #2B2F81 #812B5A #817D2B
square
#2B8152 #2B2F81 #812B5A #817D2B
split-complementary
#2B8152 #7D2B81 #812B2F
monochromatic
#0C2518 #1C5335 #2B8152 #3AAF6F #5DC98E

Accessibility & contrast

On white

4.81
#2B8152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2B8152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8152
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8152#FFFFFF#000000##FFFFFF
##2B81521.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8152;
/* rgb */ color: rgb(43, 129, 82);
/* oklch */ color: oklch(53.9% 0.110 155.6);
Tailwind
colors: {
  custom: {
    50: '#6fa683',
    500: '#2b8152',
    950: '#000000',
  },
}
SCSS
$custom: #2b8152;
$custom-light: #6fa683;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8152",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 147.209,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.11047,
    "h": 155.6
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#2B8152
secondary
#AF5988
accent
#4E9ADA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B8152

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

Preview Lab → · Contrast checker → · Palette generator →

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