#2B8155#2B8155

#2B8155 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.108 H 157.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B8155
RGBrgb(43, 129, 85)
HSLhsl(149, 50%, 34%)
HSVhsv(149, 67%, 51%)
CMYKcmyk(66.7%, 0%, 34.1%, 49.4%)
CIE-LABlab(48.09, -36.47, 16.53)
CIE-LCHlch(48.09, 40.04, 155.61°)
OKLaboklab(53.99% -0.0991 0.0417)
OKLCHoklch(53.99% 0.108 157.2)
XYZxyz(10.4853, 16.8689, 11.2960)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8155 #812B57
analogous
#2C812B #2B8155 #2B8180
triadic
#2B8155 #552B81 #81552B
tetradic
#2B8155 #2B2C81 #812B57 #81802B
square
#2B8155 #2B2C81 #812B57 #81802B
split-complementary
#2B8155 #802B81 #812B2C
monochromatic
#0C2519 #1C5337 #2B8155 #3AAF73 #5DC992

Accessibility & contrast

On white

4.80
#2B8155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2B8155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8155
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8155#FFFFFF#000000##FFFFFF
##2B81551.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807752
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8155;
/* rgb */ color: rgb(43, 129, 85);
/* oklch */ color: oklch(54.0% 0.108 157.2);
Tailwind
colors: {
  custom: {
    50: '#6fa685',
    500: '#2b8155',
    950: '#000000',
  },
}
SCSS
$custom: #2b8155;
$custom-light: #6fa685;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8155",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 149.302,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.10753,
    "h": 157.2
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#2B8155
secondary
#AF5985
accent
#4E96DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B8155

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

Preview Lab → · Contrast checker → · Palette generator →

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