#2B7E45#2B7E45

#2B7E45 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.8% C 0.119 H 150.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2B7E45
RGBrgb(43, 126, 69)
HSLhsl(139, 49%, 33%)
HSVhsv(139, 66%, 49%)
CMYKcmyk(65.9%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.80, -38.38, 23.85)
CIE-LCHlch(46.80, 45.19, 148.15°)
OKLaboklab(52.83% -0.1036 0.0588)
OKLCHoklch(52.83% 0.119 150.4)
XYZxyz(9.5306, 15.8640, 8.1889)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E45 #7E2B64
analogous
#3B7E2B #2B7E45 #2B7E6E
triadic
#2B7E45 #452B7E #7E452B
tetradic
#2B7E45 #2B3B7E #7E2B64 #7E6E2B
square
#2B7E45 #2B3B7E #7E2B64 #7E6E2B
split-complementary
#2B7E45 #6E2B7E #7E2B3B
monochromatic
#0C2313 #1B502C #2B7E45 #3BAC5E #5CC77E

Accessibility & contrast

On white

5.03
#2B7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2B7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E45
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E45#FFFFFF#000000##FFFFFF
##2B7E451.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7341
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#0C7C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7e45;
/* rgb */ color: rgb(43, 126, 69);
/* oklch */ color: oklch(52.8% 0.119 150.4);
Tailwind
colors: {
  custom: {
    50: '#6ea479',
    500: '#2b7e45',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e45;
$custom-light: #6ea479;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e45",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 138.795,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.11911,
    "h": 150.4
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#2B7E45
secondary
#AD5892
accent
#4FAED9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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