#2B7C1B#2B7C1B

#2B7C1B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.152 H 140.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B7C1B
RGBrgb(43, 124, 27)
HSLhsl(110, 64%, 30%)
HSVhsv(110, 78%, 49%)
CMYKcmyk(65.3%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.64, -42.98, 42.75)
CIE-LCHlch(45.64, 60.62, 135.16°)
OKLaboklab(51.73% -0.1176 0.096)
OKLCHoklch(51.73% 0.152 140.8)
XYZxyz(8.4013, 15.0072, 3.4906)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C1B #6C1B7C
analogous
#5C7C1B #2B7C1B #1B7C3C
triadic
#2B7C1B #1B2B7C #7C1B2B
tetradic
#2B7C1B #1B5C7C #6C1B7C #7C3C1B
square
#2B7C1B #1B5C7C #6C1B7C #7C3C1B
split-complementary
#2B7C1B #3C1B7C #7C1B5C
monochromatic
#091905 #1A4A10 #2B7C1B #3CAE26 #56D53D

Accessibility & contrast

On white

5.25
#2B7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C1B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C1B#FFFFFF#000000##FFFFFF
##2B7C1B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#1E786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c1b;
/* rgb */ color: rgb(43, 124, 27);
/* oklch */ color: oklch(51.7% 0.152 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a35f',
    500: '#2b7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c1b;
$custom-light: #70a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c1b",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 110.103,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.15186,
    "h": 140.8
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#2B7C1B
secondary
#9E43B0
accent
#41E7CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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