#2B7C4A#2B7C4A

#2B7C4A is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.111 H 153.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2B7C4A
RGBrgb(43, 124, 74)
HSLhsl(143, 49%, 33%)
HSVhsv(143, 65%, 49%)
CMYKcmyk(65.3%, 0%, 40.3%, 51.4%)
CIE-LABlab(46.21, -36.59, 20.27)
CIE-LCHlch(46.21, 41.83, 151.01°)
OKLaboklab(52.37% -0.099 0.0505)
OKLCHoklch(52.37% 0.111 153)
XYZxyz(9.4392, 15.4223, 8.9566)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C4A #7C2B5D
analogous
#347C2B #2B7C4A #2B7C72
triadic
#2B7C4A #4A2B7C #7C4A2B
tetradic
#2B7C4A #2B347C #7C2B5D #7C722B
square
#2B7C4A #2B347C #7C2B5D #7C722B
split-complementary
#2B7C4A #722B7C #7C2B34
monochromatic
#0B2114 #1B4F2F #2B7C4A #3BA965 #5BC684

Accessibility & contrast

On white

5.14
#2B7C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B7C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C4A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C4A#FFFFFF#000000##FFFFFF
##2B7C4A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#726A4D
Tritanopia (blue-blind)
#097A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7c4a;
/* rgb */ color: rgb(43, 124, 74);
/* oklch */ color: oklch(52.4% 0.111 153.0);
Tailwind
colors: {
  custom: {
    50: '#6ea37d',
    500: '#2b7c4a',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c4a;
$custom-light: #6ea37d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c4a",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 74
  },
  "hsl": {
    "h": 142.963,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.11112,
    "h": 153
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#2B7C4A
secondary
#AC578B
accent
#50A4D8
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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