#2E7E19#2E7E19

#2E7E19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 140.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E7E19
RGBrgb(46, 126, 25)
HSLhsl(108, 67%, 30%)
HSVhsv(108, 80%, 49%)
CMYKcmyk(63.5%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.41, -43.12, 44.23)
CIE-LCHlch(46.41, 61.77, 134.27°)
OKLaboklab(52.38% -0.1183 0.0988)
OKLCHoklch(52.38% 0.154 140.1)
XYZxyz(8.7626, 15.5719, 3.4634)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E19 #69197E
analogous
#607E19 #2E7E19 #197E37
triadic
#2E7E19 #192E7E #7E192E
tetradic
#2E7E19 #19607E #69197E #7E3719
square
#2E7E19 #19607E #69197E #7E3719
split-complementary
#2E7E19 #37197E #7E1960
monochromatic
#091A05 #1B4B0F #2E7E19 #41B123 #5AD83A

Accessibility & contrast

On white

5.10
#2E7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2E7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E19#FFFFFF#000000##FFFFFF
##2E7E191.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#237A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e19;
/* rgb */ color: rgb(46, 126, 25);
/* oklch */ color: oklch(52.4% 0.154 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a45e',
    500: '#2e7e19',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e19;
$custom-light: #72a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e19",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 107.525,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.15415,
    "h": 140.1
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#2E7E19
secondary
#9B41B2
accent
#3EEAC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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