#2B7252#2B7252

#2B7252 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.088 H 161.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2B7252
RGBrgb(43, 114, 82)
HSLhsl(153, 45%, 31%)
HSVhsv(153, 62%, 45%)
CMYKcmyk(62.3%, 0%, 28.1%, 55.3%)
CIE-LABlab(43.00, -30.39, 11.27)
CIE-LCHlch(43.00, 32.42, 159.65°)
OKLaboklab(49.79% -0.0834 0.0287)
OKLCHoklch(49.79% 0.088 161)
XYZxyz(8.5358, 13.1566, 10.0706)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7252 #722B4B
analogous
#2B722E #2B7252 #2B6E72
triadic
#2B7252 #522B72 #72522B
tetradic
#2B7252 #2E2B72 #722B4B #6E722B
square
#2B7252 #2E2B72 #722B4B #6E722B
split-complementary
#2B7252 #722B6E #722E2B
monochromatic
#091912 #1A4632 #2B7252 #3C9E72 #58C091

Accessibility & contrast

On white

5.78
#2B7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2B7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7252
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7252#FFFFFF#000000##FFFFFF
##2B72521.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#676354
Tritanopia (blue-blind)
#087269
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7252;
/* rgb */ color: rgb(43, 114, 82);
/* oklch */ color: oklch(49.8% 0.088 161.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b82',
    500: '#2b7252',
    950: '#000000',
  },
}
SCSS
$custom: #2b7252;
$custom-light: #6c9b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7252",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 152.958,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.08822,
    "h": 161
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#2B7252
secondary
#A45579
accent
#538DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B7252

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

Preview Lab → · Contrast checker → · Palette generator →

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