#2B714C#2B714C

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

Color values

HEX#2B714C
RGBrgb(43, 113, 76)
HSLhsl(148, 45%, 31%)
HSVhsv(148, 62%, 44%)
CMYKcmyk(61.9%, 0%, 32.7%, 55.7%)
CIE-LABlab(42.53, -31.30, 14.17)
CIE-LCHlch(42.53, 34.36, 155.64°)
OKLaboklab(49.37% -0.0853 0.0359)
OKLCHoklch(49.37% 0.093 157.2)
XYZxyz(8.2052, 12.8449, 8.8830)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B714C #712B50
analogous
#2D712B #2B714C #2B716F
triadic
#2B714C #4C2B71 #714C2B
tetradic
#2B714C #2B2D71 #712B50 #716F2B
square
#2B714C #2B2D71 #712B50 #716F2B
split-complementary
#2B714C #6F2B71 #712B2D
monochromatic
#091810 #1A452E #2B714C #3C9D6A #57BF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B714C#FFFFFF#000000##FFFFFF
##2B714C1.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)
#70684A
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#0F7067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b714c;
/* rgb */ color: rgb(43, 113, 76);
/* oklch */ color: oklch(49.4% 0.093 157.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a7e',
    500: '#2b714c',
    950: '#000000',
  },
}
SCSS
$custom: #2b714c;
$custom-light: #6c9a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b714c",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 76
  },
  "hsl": {
    "h": 148.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.09253,
    "h": 157.2
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#2B714C
secondary
#A3557E
accent
#5398D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B714C

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

Preview Lab → · Contrast checker → · Palette generator →

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