#2B815B#2B815B

#2B815B is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.1% C 0.102 H 160.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B815B
RGBrgb(43, 129, 91)
HSLhsl(153, 50%, 34%)
HSVhsv(153, 67%, 51%)
CMYKcmyk(66.7%, 0%, 29.5%, 49.4%)
CIE-LABlab(48.22, -35.13, 13.25)
CIE-LCHlch(48.22, 37.55, 159.34°)
OKLaboklab(54.14% -0.0961 0.0337)
OKLCHoklch(54.14% 0.102 160.7)
XYZxyz(10.7338, 16.9683, 12.6050)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815B #812B51
analogous
#2B8130 #2B815B #2B7C81
triadic
#2B815B #5B2B81 #815B2B
tetradic
#2B815B #302B81 #812B51 #7C812B
square
#2B815B #302B81 #812B51 #7C812B
split-complementary
#2B815B #812B7C #81302B
monochromatic
#0C251A #1C533B #2B815B #3AAF7B #5DC999

Accessibility & contrast

On white

4.78
#2B815B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B815B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B815B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B815B#FFFFFF#000000##FFFFFF
##2B815B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#746F5D
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b815b;
/* rgb */ color: rgb(43, 129, 91);
/* oklch */ color: oklch(54.1% 0.102 160.7);
Tailwind
colors: {
  custom: {
    50: '#6fa689',
    500: '#2b815b',
    950: '#000000',
  },
}
SCSS
$custom: #2b815b;
$custom-light: #6fa689;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815b",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 91
  },
  "hsl": {
    "h": 153.488,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.10183,
    "h": 160.7
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#2B815B
secondary
#AF597F
accent
#4E8CDA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B815B

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

Preview Lab → · Contrast checker → · Palette generator →

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