#2E8015#2E8015

#2E8015 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.159 H 139.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E8015
RGBrgb(46, 128, 21)
HSLhsl(106, 72%, 29%)
HSVhsv(106, 84%, 50%)
CMYKcmyk(64.1%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.07, -44.12, 46.14)
CIE-LCHlch(47.07, 63.84, 133.71°)
OKLaboklab(52.92% -0.1212 0.1022)
OKLCHoklch(52.92% 0.159 139.9)
XYZxyz(8.9808, 16.0725, 3.3383)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8015 #671580
analogous
#648015 #2E8015 #158032
triadic
#2E8015 #152E80 #80152E
tetradic
#2E8015 #156480 #671580 #803215
square
#2E8015 #156480 #671580 #803215
split-complementary
#2E8015 #321580 #801564
monochromatic
#091A04 #1B4B0C #2E8015 #41B51E #5ADD32

Accessibility & contrast

On white

4.98
#2E8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2E8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8015
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8015#FFFFFF#000000##FFFFFF
##2E80151.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#227C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8015;
/* rgb */ color: rgb(46, 128, 21);
/* oklch */ color: oklch(52.9% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a65d',
    500: '#2e8015',
    950: '#000000',
  },
}
SCSS
$custom: #2e8015;
$custom-light: #72a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8015",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 105.981,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.15854,
    "h": 139.9
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#2E8015
secondary
#993CB5
accent
#39EFC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E8015

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

Preview Lab → · Contrast checker → · Palette generator →

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