#2B714F#2B714F

#2B714F is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.090 H 159.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2B714F
RGBrgb(43, 113, 79)
HSLhsl(151, 45%, 31%)
HSVhsv(151, 62%, 44%)
CMYKcmyk(61.9%, 0%, 30.1%, 55.7%)
CIE-LABlab(42.59, -30.62, 12.49)
CIE-LCHlch(42.59, 33.07, 157.81°)
OKLaboklab(49.44% -0.0838 0.0318)
OKLCHoklch(49.44% 0.09 159.2)
XYZxyz(8.3119, 12.8876, 9.4451)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B714F #712B4D
analogous
#2B712C #2B714F #2B7071
triadic
#2B714F #4F2B71 #714F2B
tetradic
#2B714F #2C2B71 #712B4D #70712B
square
#2B714F #2C2B71 #712B4D #70712B
split-complementary
#2B714F #712B70 #712C2B
monochromatic
#091811 #1A4530 #2B714F #3C9D6E #57BF8D

Accessibility & contrast

On white

5.87
#2B714F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2B714F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B714F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B714F#FFFFFF#000000##FFFFFF
##2B714F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694D
Deuteranopia (green-blind)
#666251
Tritanopia (blue-blind)
#0C7068
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b714f;
/* rgb */ color: rgb(43, 113, 79);
/* oklch */ color: oklch(49.4% 0.090 159.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a80',
    500: '#2b714f',
    950: '#000000',
  },
}
SCSS
$custom: #2b714f;
$custom-light: #6c9a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2b714f",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 79
  },
  "hsl": {
    "h": 150.857,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.08958,
    "h": 159.2
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#2B714F
secondary
#A3557B
accent
#5392D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B714F

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

Preview Lab → · Contrast checker → · Palette generator →

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