#2B7852#2B7852

#2B7852 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.097 H 158.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2B7852
RGBrgb(43, 120, 82)
HSLhsl(150, 47%, 32%)
HSVhsv(150, 64%, 47%)
CMYKcmyk(64.2%, 0%, 31.7%, 52.9%)
CIE-LABlab(45.02, -33.15, 14.06)
CIE-LCHlch(45.02, 36.01, 157.01°)
OKLaboklab(51.45% -0.0904 0.0357)
OKLCHoklch(51.45% 0.097 158.5)
XYZxyz(9.2349, 14.5548, 10.3037)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7852 #782B51
analogous
#2B782C #2B7852 #2B7878
triadic
#2B7852 #522B78 #78522B
tetradic
#2B7852 #2C2B78 #782B51 #78782B
square
#2B7852 #2C2B78 #782B51 #78782B
split-complementary
#2B7852 #782B78 #782C2B
monochromatic
#0B1E14 #1B4B33 #2B7852 #3BA571 #5AC48F

Accessibility & contrast

On white

5.37
#2B7852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2B7852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7852
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7852#FFFFFF#000000##FFFFFF
##2B78521.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6C6854
Tritanopia (blue-blind)
#03776E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7852;
/* rgb */ color: rgb(43, 120, 82);
/* oklch */ color: oklch(51.4% 0.097 158.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f82',
    500: '#2b7852',
    950: '#000000',
  },
}
SCSS
$custom: #2b7852;
$custom-light: #6d9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7852",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 150.39,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.09719,
    "h": 158.5
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#2B7852
secondary
#AA557F
accent
#5193D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2B7852

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

Preview Lab → · Contrast checker → · Palette generator →

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