#2B7C2E#2B7C2E

#2B7C2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.138 H 143.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B7C2E
RGBrgb(43, 124, 46)
HSLhsl(122, 49%, 33%)
HSVhsv(122, 65%, 49%)
CMYKcmyk(65.3%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.81, -41.10, 34.73)
CIE-LCHlch(45.81, 53.80, 139.80°)
OKLaboklab(51.91% -0.1115 0.0815)
OKLCHoklch(51.91% 0.138 143.8)
XYZxyz(8.6965, 15.1253, 5.0454)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C2E #7C2B79
analogous
#517C2B #2B7C2E #2B7C56
triadic
#2B7C2E #2E2B7C #7C2E2B
tetradic
#2B7C2E #2B517C #7C2B79 #7C562B
square
#2B7C2E #2B517C #7C2B79 #7C562B
split-complementary
#2B7C2E #562B7C #7C2B51
monochromatic
#0B210C #1B4F1D #2B7C2E #3BA93F #5BC65F

Accessibility & contrast

On white

5.22
#2B7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2B7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C2E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C2E#FFFFFF#000000##FFFFFF
##2B7C2E1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c2e;
/* rgb */ color: rgb(43, 124, 46);
/* oklch */ color: oklch(51.9% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2b7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c2e;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c2e",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 122.222,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.13809,
    "h": 143.8
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#2B7C2E
secondary
#AC57A9
accent
#50D3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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