#2B7D1D#2B7D1D

#2B7D1D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.152 H 141.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2B7D1D
RGBrgb(43, 125, 29)
HSLhsl(111, 62%, 30%)
HSVhsv(111, 77%, 49%)
CMYKcmyk(65.6%, 0%, 76.8%, 51%)
CIE-LABlab(46.00, -43.20, 42.36)
CIE-LCHlch(46.00, 60.50, 135.56°)
OKLaboklab(52.02% -0.1181 0.0955)
OKLCHoklch(52.02% 0.152 141)
XYZxyz(8.5512, 15.2687, 3.6587)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D1D #6F1D7D
analogous
#5B7D1D #2B7D1D #1D7D3F
triadic
#2B7D1D #1D2B7D #7D1D2B
tetradic
#2B7D1D #1D5B7D #6F1D7D #7D3F1D
square
#2B7D1D #1D5B7D #6F1D7D #7D3F1D
split-complementary
#2B7D1D #3F1D7D #7D1D5B
monochromatic
#091A06 #1A4B11 #2B7D1D #3CAF29 #57D341

Accessibility & contrast

On white

5.18
#2B7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2B7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D1D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D1D#FFFFFF#000000##FFFFFF
##2B7D1D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d1d;
/* rgb */ color: rgb(43, 125, 29);
/* oklch */ color: oklch(52.0% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a360',
    500: '#2b7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d1d;
$custom-light: #70a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d1d",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 111.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.1519,
    "h": 141
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#2B7D1D
secondary
#A145B1
accent
#42E5CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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