#2B8157#2B8157

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

Color values

HEX#2B8157
RGBrgb(43, 129, 87)
HSLhsl(151, 50%, 34%)
HSVhsv(151, 67%, 51%)
CMYKcmyk(66.7%, 0%, 32.6%, 49.4%)
CIE-LABlab(48.14, -36.03, 15.44)
CIE-LCHlch(48.14, 39.20, 156.81°)
OKLaboklab(54.04% -0.0981 0.0391)
OKLCHoklch(54.04% 0.106 158.3)
XYZxyz(10.5658, 16.9011, 11.7204)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8157 #812B55
analogous
#2B812C #2B8157 #2B8081
triadic
#2B8157 #572B81 #81572B
tetradic
#2B8157 #2C2B81 #812B55 #80812B
square
#2B8157 #2C2B81 #812B55 #80812B
split-complementary
#2B8157 #812B80 #812C2B
monochromatic
#0C2519 #1C5338 #2B8157 #3AAF76 #5DC994

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8157#FFFFFF#000000##FFFFFF
##2B81571.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)
#807754
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8157;
/* rgb */ color: rgb(43, 129, 87);
/* oklch */ color: oklch(54.0% 0.106 158.3);
Tailwind
colors: {
  custom: {
    50: '#6fa686',
    500: '#2b8157',
    950: '#000000',
  },
}
SCSS
$custom: #2b8157;
$custom-light: #6fa686;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8157",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 150.698,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.1056,
    "h": 158.3
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#2B8157
secondary
#AF5983
accent
#4E92DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B8157

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

Preview Lab → · Contrast checker → · Palette generator →

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