#2B7B2E#2B7B2E

#2B7B2E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.137 H 143.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2B7B2E
RGBrgb(43, 123, 46)
HSLhsl(122, 48%, 33%)
HSVhsv(122, 65%, 48%)
CMYKcmyk(65%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.46, -40.71, 34.33)
CIE-LCHlch(45.46, 53.25, 139.85°)
OKLaboklab(51.63% -0.1104 0.0807)
OKLCHoklch(51.63% 0.137 143.9)
XYZxyz(8.5719, 14.8759, 5.0038)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B2E #7B2B78
analogous
#507B2B #2B7B2E #2B7B56
triadic
#2B7B2E #2E2B7B #7B2E2B
tetradic
#2B7B2E #2B507B #7B2B78 #7B562B
square
#2B7B2E #2B507B #7B2B78 #7B562B
split-complementary
#2B7B2E #562B7B #7B2B50
monochromatic
#0B200C #1B4E1D #2B7B2E #3BA83F #5BC65F

Accessibility & contrast

On white

5.28
#2B7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2B7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B2E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B2E#FFFFFF#000000##FFFFFF
##2B7B2E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7026
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#1A786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7b2e;
/* rgb */ color: rgb(43, 123, 46);
/* oklch */ color: oklch(51.6% 0.137 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa26a',
    500: '#2b7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b2e;
$custom-light: #6fa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b2e",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 122.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.13674,
    "h": 143.9
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#2B7B2E
secondary
#AB56A8
accent
#50D3D8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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