#2B7F1D#2B7F1D

#2B7F1D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.154 H 141.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7F1D
RGBrgb(43, 127, 29)
HSLhsl(111, 63%, 31%)
HSVhsv(111, 77%, 50%)
CMYKcmyk(66.1%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.68, -43.94, 43.04)
CIE-LCHlch(46.68, 61.51, 135.59°)
OKLaboklab(52.59% -0.1201 0.0969)
OKLCHoklch(52.59% 0.154 141.1)
XYZxyz(8.8070, 15.7802, 3.7439)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F1D #711D7F
analogous
#5C7F1D #2B7F1D #1D7F40
triadic
#2B7F1D #1D2B7F #7F1D2B
tetradic
#2B7F1D #1D5C7F #711D7F #7F401D
square
#2B7F1D #1D5C7F #711D7F #7F401D
split-complementary
#2B7F1D #401D7F #7F1D5C
monochromatic
#091B06 #1A4D12 #2B7F1D #3CB128 #57D442

Accessibility & contrast

On white

5.05
#2B7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2B7F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F1D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F1D#FFFFFF#000000##FFFFFF
##2B7F1D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#1C7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f1d;
/* rgb */ color: rgb(43, 127, 29);
/* oklch */ color: oklch(52.6% 0.154 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a560',
    500: '#2b7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f1d;
$custom-light: #70a560;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f1d",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 111.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.15434,
    "h": 141.1
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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