#2E7819#2E7819

#2E7819 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.147 H 139.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2E7819
RGBrgb(46, 120, 25)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 79%, 47%)
CMYKcmyk(61.7%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.35, -40.85, 42.24)
CIE-LCHlch(44.35, 58.76, 134.04°)
OKLaboklab(50.68% -0.1122 0.0946)
OKLCHoklch(50.68% 0.147 139.9)
XYZxyz(8.0183, 14.0832, 3.2153)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7819 #631978
analogous
#5D7819 #2E7819 #197833
triadic
#2E7819 #192E78 #78192E
tetradic
#2E7819 #195D78 #631978 #783319
square
#2E7819 #195D78 #631978 #783319
split-complementary
#2E7819 #331978 #78195D
monochromatic
#0A1905 #1B450E #2E7819 #41AB24 #59D536

Accessibility & contrast

On white

5.50
#2E7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2E7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7819
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7819#FFFFFF#000000##FFFFFF
##2E78191.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#257466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7819;
/* rgb */ color: rgb(46, 120, 25);
/* oklch */ color: oklch(50.7% 0.147 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a05d',
    500: '#2e7819',
    950: '#000000',
  },
}
SCSS
$custom: #2e7819;
$custom-light: #71a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7819",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 106.737,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.14678,
    "h": 139.9
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#2E7819
secondary
#9540AD
accent
#3FE8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E7819

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

Preview Lab → · Contrast checker → · Palette generator →

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