#2B7952#2B7952

#2B7952 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.099 H 158.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2B7952
RGBrgb(43, 121, 82)
HSLhsl(150, 48%, 32%)
HSVhsv(150, 64%, 47%)
CMYKcmyk(64.5%, 0%, 32.2%, 52.5%)
CIE-LABlab(45.35, -33.60, 14.53)
CIE-LCHlch(45.35, 36.60, 156.62°)
OKLaboklab(51.72% -0.0916 0.0368)
OKLCHoklch(51.72% 0.099 158.1)
XYZxyz(9.3558, 14.7966, 10.3440)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7952 #792B52
analogous
#2B792B #2B7952 #2B7979
triadic
#2B7952 #522B79 #79522B
tetradic
#2B7952 #2B2B79 #792B52 #79792B
square
#2B7952 #2B2B79 #792B52 #79792B
split-complementary
#2B7952 #792B79 #792B2B
monochromatic
#0B1F15 #1B4C33 #2B7952 #3BA671 #5AC48F

Accessibility & contrast

On white

5.30
#2B7952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2B7952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7952
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7952#FFFFFF#000000##FFFFFF
##2B79521.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#02786F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7952;
/* rgb */ color: rgb(43, 121, 82);
/* oklch */ color: oklch(51.7% 0.099 158.1);
Tailwind
colors: {
  custom: {
    50: '#6da082',
    500: '#2b7952',
    950: '#000000',
  },
}
SCSS
$custom: #2b7952;
$custom-light: #6da082;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7952",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.09867,
    "h": 158.1
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#2B7952
secondary
#AA5680
accent
#5194D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2B7952

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

Preview Lab → · Contrast checker → · Palette generator →

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