#2B7962#2B7962

#2B7962 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.085 H 170.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B7962
RGBrgb(43, 121, 98)
HSLhsl(162, 48%, 32%)
HSVhsv(162, 64%, 47%)
CMYKcmyk(64.5%, 0%, 19%, 52.5%)
CIE-LABlab(45.73, -29.74, 5.65)
CIE-LCHlch(45.73, 30.27, 169.25°)
OKLaboklab(52.15% -0.0834 0.0144)
OKLCHoklch(52.15% 0.085 170.2)
XYZxyz(10.0372, 15.0691, 13.9326)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7962 #792B42
analogous
#2B793B #2B7962 #2B6979
triadic
#2B7962 #622B79 #79622B
tetradic
#2B7962 #3B2B79 #792B42 #69792B
square
#2B7962 #3B2B79 #792B42 #69792B
split-complementary
#2B7962 #792B69 #793B2B
monochromatic
#0B1F19 #1B4C3D #2B7962 #3BA687 #5AC4A5

Accessibility & contrast

On white

5.23
#2B7962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B7962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7962
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7962#FFFFFF#000000##FFFFFF
##2B79621.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767161
Deuteranopia (green-blind)
#6B6964
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7962;
/* rgb */ color: rgb(43, 121, 98);
/* oklch */ color: oklch(52.2% 0.085 170.2);
Tailwind
colors: {
  custom: {
    50: '#6ea08e',
    500: '#2b7962',
    950: '#000000',
  },
}
SCSS
$custom: #2b7962;
$custom-light: #6ea08e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7962",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 162.308,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.08467,
    "h": 170.2
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#2B7962
secondary
#AA566F
accent
#5178D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2B7962

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

Preview Lab → · Contrast checker → · Palette generator →

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