#2E7B1C#2E7B1C

#2E7B1C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.149 H 140.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E7B1C
RGBrgb(46, 123, 28)
HSLhsl(109, 63%, 30%)
HSVhsv(109, 77%, 48%)
CMYKcmyk(62.6%, 0%, 77.2%, 51.8%)
CIE-LABlab(45.40, -41.77, 42.17)
CIE-LCHlch(45.40, 59.36, 134.73°)
OKLaboklab(51.55% -0.1145 0.0949)
OKLCHoklch(51.55% 0.149 140.3)
XYZxyz(8.4189, 14.8298, 3.5172)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B1C #691C7B
analogous
#5D7B1C #2E7B1C #1C7B3A
triadic
#2E7B1C #1C2E7B #7B1C2E
tetradic
#2E7B1C #1C5D7B #691C7B #7B3A1C
square
#2E7B1C #1C5D7B #691C7B #7B3A1C
split-complementary
#2E7B1C #3A1C7B #7B1C5D
monochromatic
#091906 #1B4911 #2E7B1C #41AD27 #5AD33E

Accessibility & contrast

On white

5.29
#2E7B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E7B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B1C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B1C#FFFFFF#000000##FFFFFF
##2E7B1C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#237769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b1c;
/* rgb */ color: rgb(46, 123, 28);
/* oklch */ color: oklch(51.6% 0.149 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a25f',
    500: '#2e7b1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b1c;
$custom-light: #71a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b1c",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 108.632,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.14875,
    "h": 140.3
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#2E7B1C
secondary
#9B44AF
accent
#42E6C7
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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