#2B7E1D#2B7E1D

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

Color values

HEX#2B7E1D
RGBrgb(43, 126, 29)
HSLhsl(111, 63%, 30%)
HSVhsv(111, 77%, 49%)
CMYKcmyk(65.9%, 0%, 77%, 50.6%)
CIE-LABlab(46.34, -43.57, 42.70)
CIE-LCHlch(46.34, 61.00, 135.58°)
OKLaboklab(52.31% -0.1191 0.0962)
OKLCHoklch(52.31% 0.153 141.1)
XYZxyz(8.6784, 15.5232, 3.7011)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E1D #701D7E
analogous
#5B7E1D #2B7E1D #1D7E3F
triadic
#2B7E1D #1D2B7E #7E1D2B
tetradic
#2B7E1D #1D5B7E #701D7E #7E3F1D
square
#2B7E1D #1D5B7E #701D7E #7E3F1D
split-complementary
#2B7E1D #3F1D7E #7E1D5B
monochromatic
#091B06 #1A4C12 #2B7E1D #3CB028 #57D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7E1D#FFFFFF#000000##FFFFFF
##2B7E1D1.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)
#817209
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#1D7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e1d;
/* rgb */ color: rgb(43, 126, 29);
/* oklch */ color: oklch(52.3% 0.153 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a460',
    500: '#2b7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e1d;
$custom-light: #70a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e1d",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 111.34,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.15312,
    "h": 141.1
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#2B7E1D
secondary
#A245B1
accent
#42E6CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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