#2E7219#2E7219

#2E7219 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.139 H 139.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E7219
RGBrgb(46, 114, 25)
HSLhsl(106, 64%, 27%)
HSVhsv(106, 78%, 45%)
CMYKcmyk(59.6%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.28, -38.51, 40.20)
CIE-LCHlch(42.28, 55.67, 133.76°)
OKLaboklab(48.97% -0.1059 0.0904)
OKLCHoklch(48.97% 0.139 139.5)
XYZxyz(7.3192, 12.6850, 2.9823)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7219 #5D1972
analogous
#5A7219 #2E7219 #197231
triadic
#2E7219 #192E72 #72192E
tetradic
#2E7219 #195A72 #5D1972 #723119
square
#2E7219 #195A72 #5D1972 #723119
split-complementary
#2E7219 #311972 #72195A
monochromatic
#0A1906 #1A400E #2E7219 #42A424 #59D233

Accessibility & contrast

On white

5.94
#2E7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7219
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7219#FFFFFF#000000##FFFFFF
##2E72191.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#266E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7219;
/* rgb */ color: rgb(46, 114, 25);
/* oklch */ color: oklch(49.0% 0.139 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9b5d',
    500: '#2e7219',
    950: '#000000',
  },
}
SCSS
$custom: #2e7219;
$custom-light: #6f9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7219",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 105.843,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.13922,
    "h": 139.5
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#2E7219
secondary
#8F40A7
accent
#41E7C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7219

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

Preview Lab → · Contrast checker → · Palette generator →

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