#2B8154#2B8154

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

Color values

HEX#2B8154
RGBrgb(43, 129, 84)
HSLhsl(149, 50%, 34%)
HSVhsv(149, 67%, 51%)
CMYKcmyk(66.7%, 0%, 34.9%, 49.4%)
CIE-LABlab(48.07, -36.68, 17.08)
CIE-LCHlch(48.07, 40.46, 155.04°)
OKLaboklab(53.97% -0.0996 0.043)
OKLCHoklch(53.97% 0.109 156.6)
XYZxyz(10.4458, 16.8531, 11.0883)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8154 #812B58
analogous
#2D812B #2B8154 #2B817F
triadic
#2B8154 #542B81 #81542B
tetradic
#2B8154 #2B2D81 #812B58 #817F2B
square
#2B8154 #2B2D81 #812B58 #817F2B
split-complementary
#2B8154 #7F2B81 #812B2D
monochromatic
#0C2518 #1C5336 #2B8154 #3AAF72 #5DC991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8154#FFFFFF#000000##FFFFFF
##2B81541.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)
#807751
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8154;
/* rgb */ color: rgb(43, 129, 84);
/* oklch */ color: oklch(54.0% 0.108 156.6);
Tailwind
colors: {
  custom: {
    50: '#6fa684',
    500: '#2b8154',
    950: '#000000',
  },
}
SCSS
$custom: #2b8154;
$custom-light: #6fa684;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8154",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 148.605,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.1085,
    "h": 156.6
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#2B8154
secondary
#AF5986
accent
#4E97DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B8154

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

Preview Lab → · Contrast checker → · Palette generator →

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