#2B7E2F#2B7E2F

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

Color values

HEX#2B7E2F
RGBrgb(43, 126, 47)
HSLhsl(123, 49%, 33%)
HSVhsv(123, 66%, 49%)
CMYKcmyk(65.9%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.50, -41.75, 35.03)
CIE-LCHlch(46.50, 54.50, 140.00°)
OKLaboklab(52.49% -0.1132 0.0823)
OKLCHoklch(52.49% 0.14 144)
XYZxyz(8.9697, 15.6396, 5.2348)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E2F #7E2B7A
analogous
#507E2B #2B7E2F #2B7E58
triadic
#2B7E2F #2F2B7E #7E2F2B
tetradic
#2B7E2F #2B507E #7E2B7A #7E582B
square
#2B7E2F #2B507E #7E2B7A #7E582B
split-complementary
#2B7E2F #582B7E #7E2B50
monochromatic
#0C230D #1B501E #2B7E2F #3BAC40 #5CC761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7E2F#FFFFFF#000000##FFFFFF
##2B7E2F1.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)
#807226
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#187B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e2f;
/* rgb */ color: rgb(43, 126, 47);
/* oklch */ color: oklch(52.5% 0.140 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa46a',
    500: '#2b7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e2f;
$custom-light: #6fa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e2f",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 122.892,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.13992,
    "h": 144
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#2B7E2F
secondary
#AD58A9
accent
#4FD2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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