#2B7C2F#2B7C2F

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

Color values

HEX#2B7C2F
RGBrgb(43, 124, 47)
HSLhsl(123, 49%, 33%)
HSVhsv(123, 65%, 49%)
CMYKcmyk(65.3%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.82, -40.97, 34.25)
CIE-LCHlch(45.82, 53.40, 140.11°)
OKLaboklab(51.92% -0.1111 0.0806)
OKLCHoklch(51.92% 0.137 144)
XYZxyz(8.7165, 15.1333, 5.1504)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C2F #7C2B78
analogous
#4F7C2B #2B7C2F #2B7C57
triadic
#2B7C2F #2F2B7C #7C2F2B
tetradic
#2B7C2F #2B4F7C #7C2B78 #7C572B
square
#2B7C2F #2B4F7C #7C2B78 #7C572B
split-complementary
#2B7C2F #572B7C #7C2B4F
monochromatic
#0B210D #1B4F1E #2B7C2F #3BA940 #5BC660

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7C2F#FFFFFF#000000##FFFFFF
##2B7C2F1.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)
#7E7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c2f;
/* rgb */ color: rgb(43, 124, 47);
/* oklch */ color: oklch(51.9% 0.137 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2b7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c2f;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c2f",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 122.963,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.13722,
    "h": 144
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#2B7C2F
secondary
#AC57A8
accent
#50D1D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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