#2B7D45#2B7D45

#2B7D45 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.118 H 150.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2B7D45
RGBrgb(43, 125, 69)
HSLhsl(139, 49%, 33%)
HSVhsv(139, 66%, 49%)
CMYKcmyk(65.6%, 0%, 44.8%, 51%)
CIE-LABlab(46.46, -37.96, 23.41)
CIE-LCHlch(46.46, 44.60, 148.34°)
OKLaboklab(52.55% -0.1025 0.0577)
OKLCHoklch(52.55% 0.118 150.6)
XYZxyz(9.4033, 15.6095, 8.1465)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D45 #7D2B63
analogous
#3A7D2B #2B7D45 #2B7D6E
triadic
#2B7D45 #452B7D #7D452B
tetradic
#2B7D45 #2B3A7D #7D2B63 #7D6E2B
square
#2B7D45 #2B3A7D #7D2B63 #7D6E2B
split-complementary
#2B7D45 #6E2B7D #7D2B3A
monochromatic
#0C2213 #1B4F2C #2B7D45 #3BAB5E #5CC77E

Accessibility & contrast

On white

5.09
#2B7D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2B7D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D45
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D45#FFFFFF#000000##FFFFFF
##2B7D451.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#0D7B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d45;
/* rgb */ color: rgb(43, 125, 69);
/* oklch */ color: oklch(52.5% 0.118 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ea379',
    500: '#2b7d45',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d45;
$custom-light: #6ea379;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d45",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 139.024,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.11765,
    "h": 150.6
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#2B7D45
secondary
#AD5792
accent
#4FADD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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