#2B8257#2B8257

#2B8257 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.3% C 0.107 H 157.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2B8257
RGBrgb(43, 130, 87)
HSLhsl(150, 50%, 34%)
HSVhsv(150, 67%, 51%)
CMYKcmyk(66.9%, 0%, 33.1%, 49%)
CIE-LABlab(48.47, -36.47, 15.89)
CIE-LCHlch(48.47, 39.78, 156.45°)
OKLaboklab(54.31% -0.0992 0.0402)
OKLCHoklch(54.31% 0.107 157.9)
XYZxyz(10.6982, 17.1658, 11.7645)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8257 #822B56
analogous
#2B822C #2B8257 #2B8282
triadic
#2B8257 #572B82 #82572B
tetradic
#2B8257 #2C2B82 #822B56 #82822B
square
#2B8257 #2C2B82 #822B56 #82822B
split-complementary
#2B8257 #822B82 #822C2B
monochromatic
#0D2619 #1C5438 #2B8257 #3AB076 #5ECA94

Accessibility & contrast

On white

4.74
#2B8257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B8257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8257
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8257#FFFFFF#000000##FFFFFF
##2B82571.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817854
Deuteranopia (green-blind)
#75705A
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8257;
/* rgb */ color: rgb(43, 130, 87);
/* oklch */ color: oklch(54.3% 0.107 157.9);
Tailwind
colors: {
  custom: {
    50: '#6fa786',
    500: '#2b8257',
    950: '#000000',
  },
}
SCSS
$custom: #2b8257;
$custom-light: #6fa786;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8257",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 87
  },
  "hsl": {
    "h": 150.345,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.10705,
    "h": 157.9
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#2B8257
secondary
#B05984
accent
#4E93DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B8257

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

Preview Lab → · Contrast checker → · Palette generator →

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