#2B7D3D#2B7D3D

#2B7D3D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.126 H 147.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2B7D3D
RGBrgb(43, 125, 61)
HSLhsl(133, 49%, 33%)
HSVhsv(133, 66%, 49%)
CMYKcmyk(65.6%, 0%, 51.2%, 51%)
CIE-LABlab(46.33, -39.35, 27.64)
CIE-LCHlch(46.33, 48.08, 144.92°)
OKLaboklab(52.41% -0.1062 0.0671)
OKLCHoklch(52.41% 0.126 147.7)
XYZxyz(9.1715, 15.5168, 6.9257)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D3D #7D2B6B
analogous
#427D2B #2B7D3D #2B7D66
triadic
#2B7D3D #3D2B7D #7D3D2B
tetradic
#2B7D3D #2B427D #7D2B6B #7D662B
square
#2B7D3D #2B427D #7D2B6B #7D662B
split-complementary
#2B7D3D #662B7D #7D2B42
monochromatic
#0C2211 #1B4F27 #2B7D3D #3BAB53 #5CC773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7D3D#FFFFFF#000000##FFFFFF
##2B7D3D1.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)
#7E7238
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#127A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d3d;
/* rgb */ color: rgb(43, 125, 61);
/* oklch */ color: oklch(52.4% 0.126 147.7);
Tailwind
colors: {
  custom: {
    50: '#6ea374',
    500: '#2b7d3d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d3d;
$custom-light: #6ea374;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d3d",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 133.171,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.12562,
    "h": 147.7
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#2B7D3D
secondary
#AD579A
accent
#4FBAD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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