#2B7E1B#2B7E1B

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

Color values

HEX#2B7E1B
RGBrgb(43, 126, 27)
HSLhsl(110, 65%, 30%)
HSVhsv(110, 79%, 49%)
CMYKcmyk(65.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.33, -43.72, 43.42)
CIE-LCHlch(46.33, 61.62, 135.20°)
OKLaboklab(52.29% -0.1196 0.0974)
OKLCHoklch(52.29% 0.154 140.8)
XYZxyz(8.6545, 15.5136, 3.5750)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E1B #6E1B7E
analogous
#5D7E1B #2B7E1B #1B7E3C
triadic
#2B7E1B #1B2B7E #7E1B2B
tetradic
#2B7E1B #1B5D7E #6E1B7E #7E3C1B
square
#2B7E1B #1B5D7E #6E1B7E #7E3C1B
split-complementary
#2B7E1B #3C1B7E #7E1B5D
monochromatic
#091905 #1A4C10 #2B7E1B #3CB026 #56D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7E1B#FFFFFF#000000##FFFFFF
##2B7E1B1.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)
#817205
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#1D7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e1b;
/* rgb */ color: rgb(43, 126, 27);
/* oklch */ color: oklch(52.3% 0.154 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a45f',
    500: '#2b7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e1b;
$custom-light: #70a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e1b",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 110.303,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.15429,
    "h": 140.8
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#2B7E1B
secondary
#A043B2
accent
#40E8CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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