#2B7E1C#2B7E1C

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

Color values

HEX#2B7E1C
RGBrgb(43, 126, 28)
HSLhsl(111, 64%, 30%)
HSVhsv(111, 78%, 49%)
CMYKcmyk(65.9%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.34, -43.65, 43.07)
CIE-LCHlch(46.34, 61.32, 135.38°)
OKLaboklab(52.3% -0.1194 0.0968)
OKLCHoklch(52.3% 0.154 141)
XYZxyz(8.6663, 15.5183, 3.6370)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E1C #6F1C7E
analogous
#5C7E1C #2B7E1C #1C7E3E
triadic
#2B7E1C #1C2B7E #7E1C2B
tetradic
#2B7E1C #1C5C7E #6F1C7E #7E3E1C
square
#2B7E1C #1C5C7E #6F1C7E #7E3E1C
split-complementary
#2B7E1C #3E1C7E #7E1C5C
monochromatic
#091A06 #1A4C11 #2B7E1C #3CB027 #57D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b7e1c;
/* rgb */ color: rgb(43, 126, 28);
/* oklch */ color: oklch(52.3% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a460',
    500: '#2b7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e1c;
$custom-light: #70a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e1c",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 110.816,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.523,
    "c": 0.15372,
    "h": 141
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#2B7E1C
secondary
#A144B2
accent
#41E7CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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