#2B7F4E#2B7F4E

#2B7F4E is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.3% C 0.112 H 154.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7F4E
RGBrgb(43, 127, 78)
HSLhsl(145, 49%, 33%)
HSVhsv(145, 66%, 50%)
CMYKcmyk(66.1%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.29, -37.07, 19.44)
CIE-LCHlch(47.29, 41.86, 152.33°)
OKLaboklab(53.29% -0.1003 0.0486)
OKLCHoklch(53.29% 0.112 154.1)
XYZxyz(9.9599, 16.2414, 9.8163)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F4E #7F2B5C
analogous
#327F2B #2B7F4E #2B7F78
triadic
#2B7F4E #4E2B7F #7F4E2B
tetradic
#2B7F4E #2B327F #7F2B5C #7F782B
square
#2B7F4E #2B327F #7F2B5C #7F782B
split-complementary
#2B7F4E #782B7F #7F2B32
monochromatic
#0C2416 #1C5132 #2B7F4E #3AAD6A #5CC889

Accessibility & contrast

On white

4.94
#2B7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2B7F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F4E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F4E#FFFFFF#000000##FFFFFF
##2B7F4E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#017E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b7f4e;
/* rgb */ color: rgb(43, 127, 78);
/* oklch */ color: oklch(53.3% 0.112 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ea580',
    500: '#2b7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f4e;
$custom-light: #6ea580;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f4e",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 145,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.11152,
    "h": 154.1
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#2B7F4E
secondary
#AE588A
accent
#4F9FD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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