#2B7D4E#2B7D4E

#2B7D4E is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.109 H 154.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2B7D4E
RGBrgb(43, 125, 78)
HSLhsl(146, 49%, 33%)
HSVhsv(146, 66%, 49%)
CMYKcmyk(65.6%, 0%, 37.6%, 51%)
CIE-LABlab(46.62, -36.21, 18.54)
CIE-LCHlch(46.62, 40.69, 152.89°)
OKLaboklab(52.73% -0.0981 0.0465)
OKLCHoklch(52.73% 0.109 154.6)
XYZxyz(9.7042, 15.7299, 9.7310)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D4E #7D2B5A
analogous
#317D2B #2B7D4E #2B7D77
triadic
#2B7D4E #4E2B7D #7D4E2B
tetradic
#2B7D4E #2B317D #7D2B5A #7D772B
square
#2B7D4E #2B317D #7D2B5A #7D772B
split-complementary
#2B7D4E #772B7D #7D2B31
monochromatic
#0C2215 #1B4F32 #2B7D4E #3BAB6A #5CC789

Accessibility & contrast

On white

5.06
#2B7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2B7D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D4E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D4E#FFFFFF#000000##FFFFFF
##2B7D4E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#726B51
Tritanopia (blue-blind)
#037C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d4e;
/* rgb */ color: rgb(43, 125, 78);
/* oklch */ color: oklch(52.7% 0.109 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2b7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d4e;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d4e",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 145.61,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.10858,
    "h": 154.6
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#2B7D4E
secondary
#AD5788
accent
#4F9ED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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