#2E7F1E#2E7F1E

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

Color values

HEX#2E7F1E
RGBrgb(46, 127, 30)
HSLhsl(110, 62%, 31%)
HSVhsv(110, 76%, 50%)
CMYKcmyk(63.8%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.78, -43.13, 42.79)
CIE-LCHlch(46.78, 60.76, 135.23°)
OKLaboklab(52.7% -0.1181 0.0965)
OKLCHoklch(52.7% 0.152 140.7)
XYZxyz(8.9500, 15.8525, 3.8162)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F1E #6F1E7F
analogous
#5E7F1E #2E7F1E #1E7F3E
triadic
#2E7F1E #1E2E7F #7F1E2E
tetradic
#2E7F1E #1E5E7F #6F1E7F #7F3E1E
square
#2E7F1E #1E5E7F #6F1E7F #7F3E1E
split-complementary
#2E7F1E #3E1E7F #7F1E5E
monochromatic
#0A1C07 #1C4D12 #2E7F1E #40B12A #5CD344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7F1E#FFFFFF#000000##FFFFFF
##2E7F1E1.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)
#82730B
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f1e;
/* rgb */ color: rgb(46, 127, 30);
/* oklch */ color: oklch(52.7% 0.152 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a561',
    500: '#2e7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f1e;
$custom-light: #72a561;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f1e",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 110.103,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.15249,
    "h": 140.7
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#2E7F1E
secondary
#A047B2
accent
#43E5CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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