#2B714A#2B714A

#2B714A is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.095 H 155.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2B714A
RGBrgb(43, 113, 74)
HSLhsl(147, 45%, 31%)
HSVhsv(147, 62%, 44%)
CMYKcmyk(61.9%, 0%, 34.5%, 55.7%)
CIE-LABlab(42.49, -31.74, 15.29)
CIE-LCHlch(42.49, 35.23, 154.28°)
OKLaboklab(49.32% -0.0863 0.0386)
OKLCHoklch(49.32% 0.095 155.9)
XYZxyz(8.1367, 12.8175, 8.5225)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B714A #712B52
analogous
#2F712B #2B714A #2B716D
triadic
#2B714A #4A2B71 #714A2B
tetradic
#2B714A #2B2F71 #712B52 #716D2B
square
#2B714A #2B2F71 #712B52 #716D2B
split-complementary
#2B714A #6D2B71 #712B2F
monochromatic
#091810 #1A452D #2B714A #3C9D67 #57BF85

Accessibility & contrast

On white

5.89
#2B714A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B714A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B714A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B714A#FFFFFF#000000##FFFFFF
##2B714A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706848
Deuteranopia (green-blind)
#67624C
Tritanopia (blue-blind)
#117067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b714a;
/* rgb */ color: rgb(43, 113, 74);
/* oklch */ color: oklch(49.3% 0.095 155.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a7c',
    500: '#2b714a',
    950: '#000000',
  },
}
SCSS
$custom: #2b714a;
$custom-light: #6c9a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b714a",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 74
  },
  "hsl": {
    "h": 146.571,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.09454,
    "h": 155.9
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#2B714A
secondary
#A35580
accent
#539BD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B714A

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

Preview Lab → · Contrast checker → · Palette generator →

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