#2B7C4F#2B7C4F

#2B7C4F is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.106 H 155.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2B7C4F
RGBrgb(43, 124, 79)
HSLhsl(147, 49%, 33%)
HSVhsv(147, 65%, 49%)
CMYKcmyk(65.3%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.30, -35.57, 17.55)
CIE-LCHlch(46.30, 39.66, 153.75°)
OKLaboklab(52.48% -0.0965 0.0441)
OKLCHoklch(52.48% 0.106 155.4)
XYZxyz(9.6144, 15.4924, 9.8793)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C4F #7C2B58
analogous
#2F7C2B #2B7C4F #2B7C78
triadic
#2B7C4F #4F2B7C #7C4F2B
tetradic
#2B7C4F #2B2F7C #7C2B58 #7C782B
square
#2B7C4F #2B2F7C #7C2B58 #7C782B
split-complementary
#2B7C4F #782B7C #7C2B2F
monochromatic
#0B2115 #1B4F32 #2B7C4F #3BA96C #5BC68B

Accessibility & contrast

On white

5.12
#2B7C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B7C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C4F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C4F#FFFFFF#000000##FFFFFF
##2B7C4F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#037B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7c4f;
/* rgb */ color: rgb(43, 124, 79);
/* oklch */ color: oklch(52.5% 0.106 155.4);
Tailwind
colors: {
  custom: {
    50: '#6ea280',
    500: '#2b7c4f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c4f;
$custom-light: #6ea280;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c4f",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 146.667,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.10609,
    "h": 155.4
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#2B7C4F
secondary
#AC5786
accent
#509BD8
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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