#2B7D2D#2B7D2D

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

Color values

HEX#2B7D2D
RGBrgb(43, 125, 45)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 66%, 49%)
CMYKcmyk(65.6%, 0%, 64%, 51%)
CIE-LABlab(46.14, -41.61, 35.58)
CIE-LCHlch(46.14, 54.75, 139.46°)
OKLaboklab(52.18% -0.1129 0.0832)
OKLCHoklch(52.18% 0.14 143.6)
XYZxyz(8.8030, 15.3694, 4.9848)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D2D #7D2B7B
analogous
#527D2B #2B7D2D #2B7D56
triadic
#2B7D2D #2D2B7D #7D2D2B
tetradic
#2B7D2D #2B527D #7D2B7B #7D562B
square
#2B7D2D #2B527D #7D2B7B #7D562B
split-complementary
#2B7D2D #562B7D #7D2B52
monochromatic
#0C220C #1B4F1D #2B7D2D #3BAB3D #5CC75E

Accessibility & contrast

On white

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

On black

4.07
#2B7D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7D2D#FFFFFF#000000##FFFFFF
##2B7D2D1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807124
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#19796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d2d;
/* rgb */ color: rgb(43, 125, 45);
/* oklch */ color: oklch(52.2% 0.140 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa369',
    500: '#2b7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d2d;
$custom-light: #6fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d2d",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 121.463,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.14027,
    "h": 143.6
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#2B7D2D
secondary
#AD57AB
accent
#4FD5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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