#2E7C2B#2E7C2B

#2E7C2B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.139 H 142.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E7C2B
RGBrgb(46, 124, 43)
HSLhsl(118, 49%, 33%)
HSVhsv(118, 65%, 49%)
CMYKcmyk(62.9%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.87, -40.73, 36.25)
CIE-LCHlch(45.87, 54.52, 138.32°)
OKLaboklab(51.98% -0.1108 0.0844)
OKLCHoklch(51.98% 0.139 142.7)
XYZxyz(8.7699, 15.1697, 4.7509)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C2B #792B7C
analogous
#567C2B #2E7C2B #2B7C51
triadic
#2E7C2B #2B2E7C #7C2B2E
tetradic
#2E7C2B #2B567C #792B7C #7C512B
square
#2E7C2B #2B567C #792B7C #7C512B
split-complementary
#2E7C2B #512B7C #7C2B56
monochromatic
#0C210B #1D4F1B #2E7C2B #3FA93B #5FC65B

Accessibility & contrast

On white

5.21
#2E7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7C2B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C2B#FFFFFF#000000##FFFFFF
##2E7C2B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#20786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7c2b;
/* rgb */ color: rgb(46, 124, 43);
/* oklch */ color: oklch(52.0% 0.139 142.7);
Tailwind
colors: {
  custom: {
    50: '#70a368',
    500: '#2e7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c2b;
$custom-light: #70a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c2b",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 117.778,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.1393,
    "h": 142.7
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#2E7C2B
secondary
#A957AC
accent
#50D8D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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