#2B7D2E#2B7D2E

#2B7D2E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.139 H 143.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B7D2E
RGBrgb(43, 125, 46)
HSLhsl(122, 49%, 33%)
HSVhsv(122, 66%, 49%)
CMYKcmyk(65.6%, 0%, 63.2%, 51%)
CIE-LABlab(46.15, -41.48, 35.11)
CIE-LCHlch(46.15, 54.35, 139.75°)
OKLaboklab(52.19% -0.1125 0.0823)
OKLCHoklch(52.19% 0.139 143.8)
XYZxyz(8.8225, 15.3772, 5.0874)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D2E #7D2B7A
analogous
#517D2B #2B7D2E #2B7D57
triadic
#2B7D2E #2E2B7D #7D2E2B
tetradic
#2B7D2E #2B517D #7D2B7A #7D572B
square
#2B7D2E #2B517D #7D2B7A #7D572B
split-complementary
#2B7D2E #572B7D #7D2B51
monochromatic
#0C220C #1B4F1D #2B7D2E #3BAB3F #5CC760

Accessibility & contrast

On white

5.15
#2B7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B7D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D2E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D2E#FFFFFF#000000##FFFFFF
##2B7D2E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7225
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#197A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d2e;
/* rgb */ color: rgb(43, 125, 46);
/* oklch */ color: oklch(52.2% 0.139 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2b7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d2e;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d2e",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 122.195,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.13943,
    "h": 143.8
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#2B7D2E
secondary
#AD57AA
accent
#4FD3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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