#2E7F1C#2E7F1C

#2E7F1C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.154 H 140.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2E7F1C
RGBrgb(46, 127, 28)
HSLhsl(109, 64%, 30%)
HSVhsv(109, 78%, 50%)
CMYKcmyk(63.8%, 0%, 78%, 50.2%)
CIE-LABlab(46.77, -43.28, 43.52)
CIE-LCHlch(46.77, 61.38, 134.84°)
OKLaboklab(52.68% -0.1186 0.0978)
OKLCHoklch(52.68% 0.154 140.5)
XYZxyz(8.9253, 15.8426, 3.6860)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F1C #6D1C7F
analogous
#5F7F1C #2E7F1C #1C7F3B
triadic
#2E7F1C #1C2E7F #7F1C2E
tetradic
#2E7F1C #1C5F7F #6D1C7F #7F3B1C
square
#2E7F1C #1C5F7F #6D1C7F #7F3B1C
split-complementary
#2E7F1C #3B1C7F #7F1C5F
monochromatic
#0A1B06 #1C4D11 #2E7F1C #40B127 #5BD540

Accessibility & contrast

On white

5.04
#2E7F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2E7F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F1C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F1C#FFFFFF#000000##FFFFFF
##2E7F1C1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f1c;
/* rgb */ color: rgb(46, 127, 28);
/* oklch */ color: oklch(52.7% 0.154 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a560',
    500: '#2e7f1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f1c;
$custom-light: #72a560;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f1c",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 109.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.15369,
    "h": 140.5
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#2E7F1C
secondary
#9F44B3
accent
#41E7C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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