#2B7B4E#2B7B4E

#2B7B4E is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.106 H 155.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2B7B4E
RGBrgb(43, 123, 78)
HSLhsl(146, 48%, 33%)
HSVhsv(146, 65%, 48%)
CMYKcmyk(65%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.95, -35.34, 17.64)
CIE-LCHlch(45.95, 39.50, 153.48°)
OKLaboklab(52.18% -0.0959 0.0443)
OKLCHoklch(52.18% 0.106 155.2)
XYZxyz(9.4536, 15.2286, 9.6475)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B4E #7B2B58
analogous
#307B2B #2B7B4E #2B7B76
triadic
#2B7B4E #4E2B7B #7B4E2B
tetradic
#2B7B4E #2B307B #7B2B58 #7B762B
square
#2B7B4E #2B307B #7B2B58 #7B762B
split-complementary
#2B7B4E #762B7B #7B2B30
monochromatic
#0B2014 #1B4E31 #2B7B4E #3BA86B #5BC68A

Accessibility & contrast

On white

5.19
#2B7B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2B7B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B4E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B4E#FFFFFF#000000##FFFFFF
##2B7B4E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#057A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7b4e;
/* rgb */ color: rgb(43, 123, 78);
/* oklch */ color: oklch(52.2% 0.106 155.2);
Tailwind
colors: {
  custom: {
    50: '#6ea280',
    500: '#2b7b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b4e;
$custom-light: #6ea280;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b4e",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 146.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.10561,
    "h": 155.2
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#2B7B4E
secondary
#AB5686
accent
#509CD8
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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