#2B7E4D#2B7E4D

#2B7E4D is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.111 H 153.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2B7E4D
RGBrgb(43, 126, 77)
HSLhsl(145, 49%, 33%)
HSVhsv(145, 66%, 49%)
CMYKcmyk(65.9%, 0%, 38.9%, 50.6%)
CIE-LABlab(46.94, -36.85, 19.54)
CIE-LCHlch(46.94, 41.71, 152.07°)
OKLaboklab(52.99% -0.0997 0.0489)
OKLCHoklch(52.99% 0.111 153.9)
XYZxyz(9.7958, 15.9701, 9.5860)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E4D #7E2B5C
analogous
#337E2B #2B7E4D #2B7E76
triadic
#2B7E4D #4D2B7E #7E4D2B
tetradic
#2B7E4D #2B337E #7E2B5C #7E762B
square
#2B7E4D #2B337E #7E2B5C #7E762B
split-complementary
#2B7E4D #762B7E #7E2B33
monochromatic
#0C2315 #1B5031 #2B7E4D #3BAC69 #5CC788

Accessibility & contrast

On white

5.01
#2B7E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2B7E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E4D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E4D#FFFFFF#000000##FFFFFF
##2B7E4D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744A
Deuteranopia (green-blind)
#736C50
Tritanopia (blue-blind)
#037C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7e4d;
/* rgb */ color: rgb(43, 126, 77);
/* oklch */ color: oklch(53.0% 0.111 153.9);
Tailwind
colors: {
  custom: {
    50: '#6ea47f',
    500: '#2b7e4d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e4d;
$custom-light: #6ea47f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e4d",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 144.578,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.11105,
    "h": 153.9
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#2B7E4D
secondary
#AD588A
accent
#4FA0D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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