#2B785C#2B785C

#2B785C is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.088 H 165.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2B785C
RGBrgb(43, 120, 92)
HSLhsl(158, 47%, 32%)
HSVhsv(158, 64%, 47%)
CMYKcmyk(64.2%, 0%, 23.3%, 52.9%)
CIE-LABlab(45.25, -30.79, 8.51)
CIE-LCHlch(45.25, 31.94, 164.55°)
OKLaboklab(51.71% -0.0853 0.0218)
OKLCHoklch(51.71% 0.088 165.7)
XYZxyz(9.6435, 14.7183, 12.4558)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B785C #782B47
analogous
#2B7836 #2B785C #2B6E78
triadic
#2B785C #5C2B78 #785C2B
tetradic
#2B785C #362B78 #782B47 #6E782B
square
#2B785C #362B78 #782B47 #6E782B
split-complementary
#2B785C #782B6E #78362B
monochromatic
#0B1E17 #1B4B39 #2B785C #3BA57F #5AC49D

Accessibility & contrast

On white

5.32
#2B785C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2B785C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B785C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B785C#FFFFFF#000000##FFFFFF
##2B785C1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705B
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b785c;
/* rgb */ color: rgb(43, 120, 92);
/* oklch */ color: oklch(51.7% 0.088 165.7);
Tailwind
colors: {
  custom: {
    50: '#6d9f8a',
    500: '#2b785c',
    950: '#000000',
  },
}
SCSS
$custom: #2b785c;
$custom-light: #6d9f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b785c",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 92
  },
  "hsl": {
    "h": 158.182,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.08806,
    "h": 165.7
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#2B785C
secondary
#AA5574
accent
#5182D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2B785C

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

Preview Lab → · Contrast checker → · Palette generator →

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