#2E7C1B#2E7C1B

#2E7C1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.151 H 140.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2E7C1B
RGBrgb(46, 124, 27)
HSLhsl(108, 64%, 30%)
HSVhsv(108, 78%, 49%)
CMYKcmyk(62.9%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.74, -42.23, 42.87)
CIE-LCHlch(45.74, 60.18, 134.57°)
OKLaboklab(51.83% -0.1158 0.0963)
OKLCHoklch(51.83% 0.151 140.3)
XYZxyz(8.5318, 15.0745, 3.4968)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C1B #691B7C
analogous
#5F7C1B #2E7C1B #1B7C38
triadic
#2E7C1B #1B2E7C #7C1B2E
tetradic
#2E7C1B #1B5F7C #691B7C #7C381B
square
#2E7C1B #1B5F7C #691B7C #7C381B
split-complementary
#2E7C1B #381B7C #7C1B5F
monochromatic
#091905 #1B4A10 #2E7C1B #41AE26 #5AD53D

Accessibility & contrast

On white

5.23
#2E7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C1B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C1B#FFFFFF#000000##FFFFFF
##2E7C1B1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#23786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c1b;
/* rgb */ color: rgb(46, 124, 27);
/* oklch */ color: oklch(51.8% 0.151 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2e7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c1b;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c1b",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 108.247,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.15059,
    "h": 140.3
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#2E7C1B
secondary
#9B43B0
accent
#41E7C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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