#2B785F#2B785F

#2B785F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.086 H 168.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2B785F
RGBrgb(43, 120, 95)
HSLhsl(161, 47%, 32%)
HSVhsv(161, 64%, 47%)
CMYKcmyk(64.2%, 0%, 20.8%, 52.9%)
CIE-LABlab(45.32, -30.03, 6.84)
CIE-LCHlch(45.32, 30.80, 167.17°)
OKLaboklab(51.79% -0.0838 0.0175)
OKLCHoklch(51.79% 0.086 168.2)
XYZxyz(9.7773, 14.7717, 13.1602)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B785F #782B44
analogous
#2B7838 #2B785F #2B6B78
triadic
#2B785F #5F2B78 #785F2B
tetradic
#2B785F #382B78 #782B44 #6B782B
square
#2B785F #382B78 #782B44 #6B782B
split-complementary
#2B785F #782B6B #78382B
monochromatic
#0B1E18 #1B4B3B #2B785F #3BA583 #5AC4A1

Accessibility & contrast

On white

5.31
#2B785F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B785F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B785F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B785F#FFFFFF#000000##FFFFFF
##2B785F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b785f;
/* rgb */ color: rgb(43, 120, 95);
/* oklch */ color: oklch(51.8% 0.086 168.2);
Tailwind
colors: {
  custom: {
    50: '#6d9f8c',
    500: '#2b785f',
    950: '#000000',
  },
}
SCSS
$custom: #2b785f;
$custom-light: #6d9f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b785f",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 160.519,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.0856,
    "h": 168.2
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#2B785F
secondary
#AA5571
accent
#517CD7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2B785F

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

Preview Lab → · Contrast checker → · Palette generator →

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