#2E7E2F#2E7E2F

#2E7E2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 143.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2E7E2F
RGBrgb(46, 126, 47)
HSLhsl(121, 47%, 34%)
HSVhsv(121, 63%, 49%)
CMYKcmyk(63.5%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.59, -41.04, 35.16)
CIE-LCHlch(46.59, 54.04, 139.41°)
OKLaboklab(52.59% -0.1114 0.0825)
OKLCHoklch(52.59% 0.139 143.5)
XYZxyz(9.1001, 15.7069, 5.2409)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E2F #7E2E7D
analogous
#557E2E #2E7E2F #2E7E57
triadic
#2E7E2F #2F2E7E #7E2F2E
tetradic
#2E7E2F #2E557E #7E2E7D #7E572E
square
#2E7E2F #2E557E #7E2E7D #7E572E
split-complementary
#2E7E2F #572E7E #7E2E55
monochromatic
#0D240E #1E511E #2E7E2F #3EAB40 #61C562

Accessibility & contrast

On white

5.07
#2E7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2E7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E2F#FFFFFF#000000##FFFFFF
##2E7E2F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#1E7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e2f;
/* rgb */ color: rgb(46, 126, 47);
/* oklch */ color: oklch(52.6% 0.139 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a46a',
    500: '#2e7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e2f;
$custom-light: #71a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e2f",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 120.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.13864,
    "h": 143.5
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#2E7E2F
secondary
#AC5CAB
accent
#52D4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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