#2B7E4F#2B7E4F

#2B7E4F is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.109 H 154.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B7E4F
RGBrgb(43, 126, 79)
HSLhsl(146, 49%, 33%)
HSVhsv(146, 66%, 49%)
CMYKcmyk(65.9%, 0%, 37.3%, 50.6%)
CIE-LABlab(46.97, -36.44, 18.45)
CIE-LCHlch(46.97, 40.84, 153.15°)
OKLaboklab(53.03% -0.0987 0.0463)
OKLCHoklch(53.03% 0.109 154.9)
XYZxyz(9.8675, 15.9988, 9.9637)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E4F #7E2B5A
analogous
#317E2B #2B7E4F #2B7E78
triadic
#2B7E4F #4F2B7E #7E4F2B
tetradic
#2B7E4F #2B317E #7E2B5A #7E782B
square
#2B7E4F #2B317E #7E2B5A #7E782B
split-complementary
#2B7E4F #782B7E #7E2B31
monochromatic
#0C2316 #1B5032 #2B7E4F #3BAC6C #5CC78B

Accessibility & contrast

On white

5.00
#2B7E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2B7E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E4F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E4F#FFFFFF#000000##FFFFFF
##2B7E4F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#017D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7e4f;
/* rgb */ color: rgb(43, 126, 79);
/* oklch */ color: oklch(53.0% 0.109 154.9);
Tailwind
colors: {
  custom: {
    50: '#6ea480',
    500: '#2b7e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e4f;
$custom-light: #6ea480;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e4f",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 146.024,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.10905,
    "h": 154.9
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#2B7E4F
secondary
#AD5888
accent
#4F9DD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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