#2E7F2F#2E7F2F

#2E7F2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.140 H 143.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2E7F2F
RGBrgb(46, 127, 47)
HSLhsl(121, 47%, 34%)
HSVhsv(121, 64%, 50%)
CMYKcmyk(63.8%, 0%, 63%, 50.2%)
CIE-LABlab(46.93, -41.43, 35.55)
CIE-LCHlch(46.93, 54.59, 139.37°)
OKLaboklab(52.86% -0.1125 0.0833)
OKLCHoklch(52.86% 0.14 143.5)
XYZxyz(9.2286, 15.9639, 5.2838)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F2F #7F2E7E
analogous
#567F2E #2E7F2F #2E7F58
triadic
#2E7F2F #2F2E7F #7F2F2E
tetradic
#2E7F2F #2E567F #7F2E7E #7F582E
square
#2E7F2F #2E567F #7F2E7E #7F582E
split-complementary
#2E7F2F #582E7F #7F2E56
monochromatic
#0D250E #1E521E #2E7F2F #3EAC40 #61C663

Accessibility & contrast

On white

5.01
#2E7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2E7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F2F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F2F#FFFFFF#000000##FFFFFF
##2E7F2F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#1E7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f2f;
/* rgb */ color: rgb(46, 127, 47);
/* oklch */ color: oklch(52.9% 0.140 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a56b',
    500: '#2e7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f2f;
$custom-light: #71a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f2f",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 120.741,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.13999,
    "h": 143.5
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#2E7F2F
secondary
#AD5CAC
accent
#51D5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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