#2B704F#2B704F

#2B704F is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.2% C 0.088 H 159.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2B704F
RGBrgb(43, 112, 79)
HSLhsl(151, 45%, 30%)
HSVhsv(151, 62%, 44%)
CMYKcmyk(61.6%, 0%, 29.5%, 56.1%)
CIE-LABlab(42.26, -30.16, 12.02)
CIE-LCHlch(42.26, 32.46, 158.27°)
OKLaboklab(49.16% -0.0826 0.0306)
OKLCHoklch(49.16% 0.088 159.7)
XYZxyz(8.2010, 12.6657, 9.4081)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B704F #702B4C
analogous
#2B702C #2B704F #2B6E70
triadic
#2B704F #4F2B70 #704F2B
tetradic
#2B704F #2C2B70 #702B4C #6E702B
square
#2B704F #2C2B70 #702B4C #6E702B
split-complementary
#2B704F #702B6E #702C2B
monochromatic
#091811 #1A4430 #2B704F #3C9C6E #57BE8D

Accessibility & contrast

On white

5.94
#2B704F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B704F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B704F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B704F#FFFFFF#000000##FFFFFF
##2B704F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#0D6F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b704f;
/* rgb */ color: rgb(43, 112, 79);
/* oklch */ color: oklch(49.2% 0.088 159.7);
Tailwind
colors: {
  custom: {
    50: '#6c9980',
    500: '#2b704f',
    950: '#000000',
  },
}
SCSS
$custom: #2b704f;
$custom-light: #6c9980;
$custom-dark: #000000;
JSON
{
  "hex": "#2b704f",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 151.304,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.08805,
    "h": 159.7
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#2B704F
secondary
#A2557A
accent
#5491D4
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B704F

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

Preview Lab → · Contrast checker → · Palette generator →

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