#2B714D#2B714D

#2B714D is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.092 H 157.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B714D
RGBrgb(43, 113, 77)
HSLhsl(149, 45%, 31%)
HSVhsv(149, 62%, 44%)
CMYKcmyk(61.9%, 0%, 31.9%, 55.7%)
CIE-LABlab(42.55, -31.08, 13.61)
CIE-LCHlch(42.55, 33.93, 156.35°)
OKLaboklab(49.39% -0.0848 0.0345)
OKLCHoklch(49.39% 0.092 157.9)
XYZxyz(8.2402, 12.8589, 9.0675)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B714D #712B4F
analogous
#2C712B #2B714D #2B7170
triadic
#2B714D #4D2B71 #714D2B
tetradic
#2B714D #2B2C71 #712B4F #71702B
square
#2B714D #2B2C71 #712B4F #71702B
split-complementary
#2B714D #702B71 #712B2C
monochromatic
#091811 #1A452F #2B714D #3C9D6B #57BF8A

Accessibility & contrast

On white

5.88
#2B714D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B714D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B714D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B714D#FFFFFF#000000##FFFFFF
##2B714D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694B
Deuteranopia (green-blind)
#66624F
Tritanopia (blue-blind)
#0E7067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b714d;
/* rgb */ color: rgb(43, 113, 77);
/* oklch */ color: oklch(49.4% 0.092 157.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a7f',
    500: '#2b714d',
    950: '#000000',
  },
}
SCSS
$custom: #2b714d;
$custom-light: #6c9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b714d",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 77
  },
  "hsl": {
    "h": 149.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.09153,
    "h": 157.9
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#2B714D
secondary
#A3557D
accent
#5396D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B714D

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

Preview Lab → · Contrast checker → · Palette generator →

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