#2B785D#2B785D

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

Color values

HEX#2B785D
RGBrgb(43, 120, 93)
HSLhsl(159, 47%, 32%)
HSVhsv(159, 64%, 47%)
CMYKcmyk(64.2%, 0%, 22.5%, 52.9%)
CIE-LABlab(45.27, -30.54, 7.95)
CIE-LCHlch(45.27, 31.56, 165.41°)
OKLaboklab(51.74% -0.0848 0.0204)
OKLCHoklch(51.74% 0.087 166.5)
XYZxyz(9.6875, 14.7359, 12.6876)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B785D #782B46
analogous
#2B7837 #2B785D #2B6D78
triadic
#2B785D #5D2B78 #785D2B
tetradic
#2B785D #372B78 #782B46 #6D782B
square
#2B785D #372B78 #782B46 #6D782B
split-complementary
#2B785D #782B6D #78372B
monochromatic
#0B1E17 #1B4B3A #2B785D #3BA580 #5AC49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B785D#FFFFFF#000000##FFFFFF
##2B785D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b785d;
/* rgb */ color: rgb(43, 120, 93);
/* oklch */ color: oklch(51.7% 0.087 166.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f8b',
    500: '#2b785d',
    950: '#000000',
  },
}
SCSS
$custom: #2b785d;
$custom-light: #6d9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b785d",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 158.961,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.08722,
    "h": 166.5
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#2B785D
secondary
#AA5573
accent
#5180D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2B785D

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

Preview Lab → · Contrast checker → · Palette generator →

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