#2B7B1D#2B7B1D

#2B7B1D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.149 H 141.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2B7B1D
RGBrgb(43, 123, 29)
HSLhsl(111, 62%, 30%)
HSVhsv(111, 76%, 48%)
CMYKcmyk(65%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.31, -42.45, 41.67)
CIE-LCHlch(45.31, 59.49, 135.53°)
OKLaboklab(51.46% -0.1161 0.0941)
OKLCHoklch(51.46% 0.149 141)
XYZxyz(8.3006, 14.7674, 3.5751)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B1D #6D1D7B
analogous
#5A7B1D #2B7B1D #1D7B3E
triadic
#2B7B1D #1D2B7B #7B1D2B
tetradic
#2B7B1D #1D5A7B #6D1D7B #7B3E1D
square
#2B7B1D #1D5A7B #6D1D7B #7B3E1D
split-complementary
#2B7B1D #3E1D7B #7B1D5A
monochromatic
#091906 #1A4911 #2B7B1D #3CAD29 #56D240

Accessibility & contrast

On white

5.31
#2B7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B1D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B1D#FFFFFF#000000##FFFFFF
##2B7B1D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#1E7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b1d;
/* rgb */ color: rgb(43, 123, 29);
/* oklch */ color: oklch(51.5% 0.149 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a260',
    500: '#2b7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b1d;
$custom-light: #70a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b1d",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 111.064,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.14942,
    "h": 141
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#2B7B1D
secondary
#9F45AF
accent
#43E5CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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