#2B8158#2B8158

#2B8158 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.1% C 0.105 H 158.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8158
RGBrgb(43, 129, 88)
HSLhsl(151, 50%, 34%)
HSVhsv(151, 67%, 51%)
CMYKcmyk(66.7%, 0%, 31.8%, 49.4%)
CIE-LABlab(48.16, -35.81, 14.89)
CIE-LCHlch(48.16, 38.78, 157.42°)
OKLaboklab(54.06% -0.0976 0.0378)
OKLCHoklch(54.06% 0.105 158.9)
XYZxyz(10.6070, 16.9176, 11.9370)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8158 #812B54
analogous
#2B812D #2B8158 #2B7F81
triadic
#2B8158 #582B81 #81582B
tetradic
#2B8158 #2D2B81 #812B54 #7F812B
square
#2B8158 #2D2B81 #812B54 #7F812B
split-complementary
#2B8158 #812B7F #812D2B
monochromatic
#0C2519 #1C5339 #2B8158 #3AAF77 #5DC996

Accessibility & contrast

On white

4.79
#2B8158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2B8158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8158
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8158#FFFFFF#000000##FFFFFF
##2B81581.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807756
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8158;
/* rgb */ color: rgb(43, 129, 88);
/* oklch */ color: oklch(54.1% 0.105 158.9);
Tailwind
colors: {
  custom: {
    50: '#6fa687',
    500: '#2b8158',
    950: '#000000',
  },
}
SCSS
$custom: #2b8158;
$custom-light: #6fa687;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8158",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 151.395,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.10465,
    "h": 158.9
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#2B8158
secondary
#AF5982
accent
#4E91DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B8158

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

Preview Lab → · Contrast checker → · Palette generator →

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