#2B875F#2B875F

#2B875F is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.107 H 160.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B875F
RGBrgb(43, 135, 95)
HSLhsl(154, 52%, 35%)
HSVhsv(154, 68%, 53%)
CMYKcmyk(68.1%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.29, -36.85, 13.82)
CIE-LCHlch(50.29, 39.36, 159.45°)
OKLaboklab(55.87% -0.1007 0.0351)
OKLCHoklch(55.87% 0.107 160.8)
XYZxyz(11.7246, 18.6665, 13.8093)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B875F #872B53
analogous
#2B8731 #2B875F #2B8187
triadic
#2B875F #5F2B87 #875F2B
tetradic
#2B875F #312B87 #872B53 #81872B
square
#2B875F #312B87 #872B53 #81872B
split-complementary
#2B875F #872B81 #87312B
monochromatic
#0D2A1E #1C593E #2B875F #3AB580 #60CC9D

Accessibility & contrast

On white

4.44
#2B875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2B875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B875F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B875F#FFFFFF#000000##000000
##2B875F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5D
Deuteranopia (green-blind)
#797462
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b875f;
/* rgb */ color: rgb(43, 135, 95);
/* oklch */ color: oklch(55.9% 0.107 160.8);
Tailwind
colors: {
  custom: {
    50: '#70ab8c',
    500: '#2b875f',
    950: '#000000',
  },
}
SCSS
$custom: #2b875f;
$custom-light: #70ab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b875f",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 153.913,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.10669,
    "h": 160.8
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#2B875F
secondary
#B25B81
accent
#4D8BDB
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2B875F

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

Preview Lab → · Contrast checker → · Palette generator →

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