#2B7E2B#2B7E2B

#2B7E2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.143 H 143.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2B7E2B
RGBrgb(43, 126, 43)
HSLhsl(120, 49%, 33%)
HSVhsv(120, 66%, 49%)
CMYKcmyk(65.9%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.46, -42.22, 36.89)
CIE-LCHlch(46.46, 56.07, 138.86°)
OKLaboklab(52.44% -0.1147 0.0858)
OKLCHoklch(52.44% 0.143 143.2)
XYZxyz(8.8926, 15.6088, 4.8292)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E2B #7E2B7E
analogous
#547E2B #2B7E2B #2B7E54
triadic
#2B7E2B #2B2B7E #7E2B2B
tetradic
#2B7E2B #2B547E #7E2B7E #7E542B
square
#2B7E2B #2B547E #7E2B7E #7E542B
split-complementary
#2B7E2B #542B7E #7E2B54
monochromatic
#0C230C #1B501B #2B7E2B #3BAC3B #5CC75C

Accessibility & contrast

On white

5.09
#2B7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2B7E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E2B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E2B#FFFFFF#000000##FFFFFF
##2B7E2B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#776B32
Tritanopia (blue-blind)
#197A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e2b;
/* rgb */ color: rgb(43, 126, 43);
/* oklch */ color: oklch(52.4% 0.143 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa468',
    500: '#2b7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e2b;
$custom-light: #6fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e2b",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.14323,
    "h": 143.2
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#2B7E2B
secondary
#AD58AD
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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