#2E7E15#2E7E15

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

Color values

HEX#2E7E15
RGBrgb(46, 126, 21)
HSLhsl(106, 71%, 29%)
HSVhsv(106, 83%, 49%)
CMYKcmyk(63.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.39, -43.38, 45.51)
CIE-LCHlch(46.39, 62.87, 133.63°)
OKLaboklab(52.35% -0.1192 0.1009)
OKLCHoklch(52.35% 0.156 139.8)
XYZxyz(8.7225, 15.5559, 3.2522)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E15 #65157E
analogous
#637E15 #2E7E15 #157E31
triadic
#2E7E15 #152E7E #7E152E
tetradic
#2E7E15 #15637E #65157E #7E3115
square
#2E7E15 #15637E #65157E #7E3115
split-complementary
#2E7E15 #31157E #7E1563
monochromatic
#0A1A04 #1B4A0C #2E7E15 #41B21E #5ADD31

Accessibility & contrast

On white

5.11
#2E7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7E15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E15#FFFFFF#000000##FFFFFF
##2E7E151.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7e15;
/* rgb */ color: rgb(46, 126, 21);
/* oklch */ color: oklch(52.4% 0.156 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a45d',
    500: '#2e7e15',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e15;
$custom-light: #72a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e15",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 105.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.15617,
    "h": 139.8
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#2E7E15
secondary
#973CB3
accent
#3AEEC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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