#2B7C4E#2B7C4E

#2B7C4E is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.107 H 154.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B7C4E
RGBrgb(43, 124, 78)
HSLhsl(146, 49%, 33%)
HSVhsv(146, 65%, 49%)
CMYKcmyk(65.3%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.28, -35.78, 18.09)
CIE-LCHlch(46.28, 40.10, 153.18°)
OKLaboklab(52.46% -0.097 0.0454)
OKLCHoklch(52.46% 0.107 154.9)
XYZxyz(9.5782, 15.4780, 9.6890)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C4E #7C2B59
analogous
#307C2B #2B7C4E #2B7C76
triadic
#2B7C4E #4E2B7C #7C4E2B
tetradic
#2B7C4E #2B307C #7C2B59 #7C762B
square
#2B7C4E #2B307C #7C2B59 #7C762B
split-complementary
#2B7C4E #762B7C #7C2B30
monochromatic
#0B2115 #1B4F31 #2B7C4E #3BA96B #5BC689

Accessibility & contrast

On white

5.13
#2B7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C4E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C4E#FFFFFF#000000##FFFFFF
##2B7C4E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#047B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7c4e;
/* rgb */ color: rgb(43, 124, 78);
/* oklch */ color: oklch(52.5% 0.107 154.9);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2b7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c4e;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c4e",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 145.926,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.10709,
    "h": 154.9
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#2B7C4E
secondary
#AC5787
accent
#509DD8
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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