#2B815F#2B815F

#2B815F is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.2% C 0.098 H 163.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B815F
RGBrgb(43, 129, 95)
HSLhsl(156, 50%, 34%)
HSVhsv(156, 67%, 51%)
CMYKcmyk(66.7%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.31, -34.19, 11.06)
CIE-LCHlch(48.31, 35.94, 162.08°)
OKLaboklab(54.24% -0.0941 0.0282)
OKLCHoklch(54.24% 0.098 163.3)
XYZxyz(10.9110, 17.0392, 13.5381)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815F #812B4D
analogous
#2B8134 #2B815F #2B7881
triadic
#2B815F #5F2B81 #815F2B
tetradic
#2B815F #342B81 #812B4D #78812B
square
#2B815F #342B81 #812B4D #78812B
split-complementary
#2B815F #812B78 #81342B
monochromatic
#0C251B #1C533D #2B815F #3AAF81 #5DC99E

Accessibility & contrast

On white

4.76
#2B815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2B815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B815F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B815F#FFFFFF#000000##FFFFFF
##2B815F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785D
Deuteranopia (green-blind)
#736F61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b815f;
/* rgb */ color: rgb(43, 129, 95);
/* oklch */ color: oklch(54.2% 0.098 163.3);
Tailwind
colors: {
  custom: {
    50: '#6fa68c',
    500: '#2b815f',
    950: '#000000',
  },
}
SCSS
$custom: #2b815f;
$custom-light: #6fa68c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815f",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 156.279,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.09821,
    "h": 163.3
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#2B815F
secondary
#AF597B
accent
#4E85DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2B815F

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

Preview Lab → · Contrast checker → · Palette generator →

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