#2B7A1B#2B7A1B

#2B7A1B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.149 H 140.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B7A1B
RGBrgb(43, 122, 27)
HSLhsl(110, 64%, 29%)
HSVhsv(110, 78%, 48%)
CMYKcmyk(64.8%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.96, -42.23, 42.07)
CIE-LCHlch(44.96, 59.61, 135.11°)
OKLaboklab(51.16% -0.1156 0.0946)
OKLCHoklch(51.16% 0.149 140.7)
XYZxyz(8.1532, 14.5110, 3.4079)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A1B #6A1B7A
analogous
#5B7A1B #2B7A1B #1B7A3B
triadic
#2B7A1B #1B2B7A #7A1B2B
tetradic
#2B7A1B #1B5B7A #6A1B7A #7A3B1B
square
#2B7A1B #1B5B7A #6A1B7A #7A3B1B
split-complementary
#2B7A1B #3B1B7A #7A1B5B
monochromatic
#091906 #194810 #2B7A1B #3DAC26 #55D43C

Accessibility & contrast

On white

5.38
#2B7A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2B7A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A1B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A1B#FFFFFF#000000##FFFFFF
##2B7A1B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#1F7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7a1b;
/* rgb */ color: rgb(43, 122, 27);
/* oklch */ color: oklch(51.2% 0.149 140.7);
Tailwind
colors: {
  custom: {
    50: '#6fa15f',
    500: '#2b7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a1b;
$custom-light: #6fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a1b",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 109.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.1494,
    "h": 140.7
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#2B7A1B
secondary
#9C43AE
accent
#41E7CB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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