#2B7C45#2B7C45

#2B7C45 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.116 H 150.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2B7C45
RGBrgb(43, 124, 69)
HSLhsl(139, 49%, 33%)
HSVhsv(139, 65%, 49%)
CMYKcmyk(65.3%, 0%, 44.4%, 51.4%)
CIE-LABlab(46.12, -37.54, 22.97)
CIE-LCHlch(46.12, 44.02, 148.54°)
OKLaboklab(52.27% -0.1014 0.0567)
OKLCHoklch(52.27% 0.116 150.8)
XYZxyz(9.2774, 15.3576, 8.1045)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C45 #7C2B62
analogous
#3A7C2B #2B7C45 #2B7C6D
triadic
#2B7C45 #452B7C #7C452B
tetradic
#2B7C45 #2B3A7C #7C2B62 #7C6D2B
square
#2B7C45 #2B3A7C #7C2B62 #7C6D2B
split-complementary
#2B7C45 #6D2B7C #7C2B3A
monochromatic
#0B2112 #1B4F2C #2B7C45 #3BA95E #5BC67E

Accessibility & contrast

On white

5.16
#2B7C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2B7C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C45
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C45#FFFFFF#000000##FFFFFF
##2B7C451.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#0E7A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7c45;
/* rgb */ color: rgb(43, 124, 69);
/* oklch */ color: oklch(52.3% 0.116 150.8);
Tailwind
colors: {
  custom: {
    50: '#6ea379',
    500: '#2b7c45',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c45;
$custom-light: #6ea379;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c45",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 139.259,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.11619,
    "h": 150.8
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#2B7C45
secondary
#AC5791
accent
#50ACD8
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7C45

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

Preview Lab → · Contrast checker → · Palette generator →

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