#2B7A4E#2B7A4E

#2B7A4E is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.104 H 155.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B7A4E
RGBrgb(43, 122, 78)
HSLhsl(147, 48%, 32%)
HSVhsv(147, 65%, 48%)
CMYKcmyk(64.8%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.61, -34.91, 17.19)
CIE-LCHlch(45.61, 38.91, 153.79°)
OKLaboklab(51.91% -0.0947 0.0432)
OKLCHoklch(51.91% 0.104 155.5)
XYZxyz(9.3301, 14.9818, 9.6063)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A4E #7A2B57
analogous
#307A2B #2B7A4E #2B7A76
triadic
#2B7A4E #4E2B7A #7A4E2B
tetradic
#2B7A4E #2B307A #7A2B57 #7A762B
square
#2B7A4E #2B307A #7A2B57 #7A762B
split-complementary
#2B7A4E #762B7A #7A2B30
monochromatic
#0B1F14 #1B4D31 #2B7A4E #3BA76B #5AC58A

Accessibility & contrast

On white

5.25
#2B7A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B7A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A4E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A4E#FFFFFF#000000##FFFFFF
##2B7A4E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A704B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#06796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7a4e;
/* rgb */ color: rgb(43, 122, 78);
/* oklch */ color: oklch(51.9% 0.104 155.5);
Tailwind
colors: {
  custom: {
    50: '#6da180',
    500: '#2b7a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a4e;
$custom-light: #6da180;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a4e",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 146.582,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.10412,
    "h": 155.5
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#2B7A4E
secondary
#AB5685
accent
#509CD7
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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