#2B7F48#2B7F48

#2B7F48 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.118 H 151.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2B7F48
RGBrgb(43, 127, 72)
HSLhsl(141, 49%, 33%)
HSVhsv(141, 66%, 50%)
CMYKcmyk(66.1%, 0%, 43.3%, 50.2%)
CIE-LABlab(47.18, -38.24, 22.68)
CIE-LCHlch(47.18, 44.46, 149.33°)
OKLaboklab(53.16% -0.1033 0.0561)
OKLCHoklch(53.16% 0.118 151.5)
XYZxyz(9.7546, 16.1592, 8.7346)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F48 #7F2B62
analogous
#387F2B #2B7F48 #2B7F72
triadic
#2B7F48 #482B7F #7F482B
tetradic
#2B7F48 #2B387F #7F2B62 #7F722B
square
#2B7F48 #2B387F #7F2B62 #7F722B
split-complementary
#2B7F48 #722B7F #7F2B38
monochromatic
#0C2414 #1C512E #2B7F48 #3AAD62 #5CC882

Accessibility & contrast

On white

4.96
#2B7F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2B7F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F48
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F48#FFFFFF#000000##FFFFFF
##2B7F481.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7444
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#087D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b7f48;
/* rgb */ color: rgb(43, 127, 72);
/* oklch */ color: oklch(53.2% 0.118 151.5);
Tailwind
colors: {
  custom: {
    50: '#6fa57b',
    500: '#2b7f48',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f48;
$custom-light: #6fa57b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f48",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 140.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.11755,
    "h": 151.5
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#2B7F48
secondary
#AE5890
accent
#4FA9D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7F48

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

Preview Lab → · Contrast checker → · Palette generator →

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