#2B7B1B#2B7B1B

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

Color values

HEX#2B7B1B
RGBrgb(43, 123, 27)
HSLhsl(110, 64%, 29%)
HSVhsv(110, 78%, 48%)
CMYKcmyk(65%, 0%, 78%, 51.8%)
CIE-LABlab(45.30, -42.61, 42.41)
CIE-LCHlch(45.30, 60.12, 135.13°)
OKLaboklab(51.44% -0.1166 0.0953)
OKLCHoklch(51.44% 0.151 140.7)
XYZxyz(8.2766, 14.7578, 3.4491)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B1B #6B1B7B
analogous
#5B7B1B #2B7B1B #1B7B3B
triadic
#2B7B1B #1B2B7B #7B1B2B
tetradic
#2B7B1B #1B5B7B #6B1B7B #7B3B1B
square
#2B7B1B #1B5B7B #6B1B7B #7B3B1B
split-complementary
#2B7B1B #3B1B7B #7B1B5B
monochromatic
#091906 #194910 #2B7B1B #3DAD26 #56D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7B1B#FFFFFF#000000##FFFFFF
##2B7B1B1.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)
#7E6F06
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#1E7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b1b;
/* rgb */ color: rgb(43, 123, 27);
/* oklch */ color: oklch(51.4% 0.151 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a25f',
    500: '#2b7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b1b;
$custom-light: #70a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b1b",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 110,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.15063,
    "h": 140.7
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#2B7B1B
secondary
#9D43AF
accent
#41E7CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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