#2B7E2E#2B7E2E

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

Color values

HEX#2B7E2E
RGBrgb(43, 126, 46)
HSLhsl(122, 49%, 33%)
HSVhsv(122, 66%, 49%)
CMYKcmyk(65.9%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.49, -41.87, 35.50)
CIE-LCHlch(46.49, 54.90, 139.71°)
OKLaboklab(52.47% -0.1136 0.0832)
OKLCHoklch(52.47% 0.141 143.8)
XYZxyz(8.9497, 15.6317, 5.1298)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E2E #7E2B7B
analogous
#517E2B #2B7E2E #2B7E57
triadic
#2B7E2E #2E2B7E #7E2E2B
tetradic
#2B7E2E #2B517E #7E2B7B #7E572B
square
#2B7E2E #2B517E #7E2B7B #7E572B
split-complementary
#2B7E2E #572B7E #7E2B51
monochromatic
#0C230D #1B501D #2B7E2E #3BAC3F #5CC760

Accessibility & contrast

On white

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

On black

4.13
#2B7E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7E2E#FFFFFF#000000##FFFFFF
##2B7E2E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817225
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#197B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e2e;
/* rgb */ color: rgb(43, 126, 46);
/* oklch */ color: oklch(52.5% 0.141 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa46a',
    500: '#2b7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e2e;
$custom-light: #6fa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e2e",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 122.169,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.14077,
    "h": 143.8
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#2B7E2E
secondary
#AD58AA
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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