#2B7D39#2B7D39

#2B7D39 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.129 H 146.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B7D39
RGBrgb(43, 125, 57)
HSLhsl(130, 49%, 33%)
HSVhsv(130, 66%, 49%)
CMYKcmyk(65.6%, 0%, 54.4%, 51%)
CIE-LABlab(46.28, -39.97, 29.70)
CIE-LCHlch(46.28, 49.80, 143.39°)
OKLaboklab(52.34% -0.108 0.0714)
OKLCHoklch(52.34% 0.129 146.5)
XYZxyz(9.0678, 15.4753, 6.3793)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D39 #7D2B6F
analogous
#467D2B #2B7D39 #2B7D62
triadic
#2B7D39 #392B7D #7D392B
tetradic
#2B7D39 #2B467D #7D2B6F #7D622B
square
#2B7D39 #2B467D #7D2B6F #7D622B
split-complementary
#2B7D39 #622B7D #7D2B46
monochromatic
#0C220F #1B4F24 #2B7D39 #3BAB4E #5CC76E

Accessibility & contrast

On white

5.13
#2B7D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7D39
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D39#FFFFFF#000000##FFFFFF
##2B7D391.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#157A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d39;
/* rgb */ color: rgb(43, 125, 57);
/* oklch */ color: oklch(52.3% 0.129 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fa371',
    500: '#2b7d39',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d39;
$custom-light: #6fa371;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d39",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 130.244,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.12949,
    "h": 146.5
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#2B7D39
secondary
#AD579E
accent
#4FC1D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7D39

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

Preview Lab → · Contrast checker → · Palette generator →

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