#2B7D40#2B7D40

#2B7D40 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.123 H 148.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B7D40
RGBrgb(43, 125, 64)
HSLhsl(135, 49%, 33%)
HSVhsv(135, 66%, 49%)
CMYKcmyk(65.6%, 0%, 48.8%, 51%)
CIE-LABlab(46.38, -38.85, 26.07)
CIE-LCHlch(46.38, 46.78, 146.14°)
OKLaboklab(52.46% -0.1049 0.0637)
OKLCHoklch(52.46% 0.123 148.7)
XYZxyz(9.2546, 15.5501, 7.3632)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D40 #7D2B68
analogous
#3F7D2B #2B7D40 #2B7D69
triadic
#2B7D40 #402B7D #7D402B
tetradic
#2B7D40 #2B3F7D #7D2B68 #7D692B
square
#2B7D40 #2B3F7D #7D2B68 #7D692B
split-complementary
#2B7D40 #692B7D #7D2B3F
monochromatic
#0C2211 #1B4F29 #2B7D40 #3BAB57 #5CC777

Accessibility & contrast

On white

5.11
#2B7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D40#FFFFFF#000000##FFFFFF
##2B7D401.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#117B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d40;
/* rgb */ color: rgb(43, 125, 64);
/* oklch */ color: oklch(52.5% 0.123 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ea376',
    500: '#2b7d40',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d40;
$custom-light: #6ea376;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d40",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 135.366,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.12267,
    "h": 148.7
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#2B7D40
secondary
#AD5797
accent
#4FB5D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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