#2E7F15#2E7F15

#2E7F15 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.157 H 139.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2E7F15
RGBrgb(46, 127, 21)
HSLhsl(106, 72%, 29%)
HSVhsv(106, 83%, 50%)
CMYKcmyk(63.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.73, -43.75, 45.83)
CIE-LCHlch(46.73, 63.36, 133.67°)
OKLaboklab(52.64% -0.1202 0.1015)
OKLCHoklch(52.64% 0.157 139.8)
XYZxyz(8.8510, 15.8129, 3.2951)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F15 #66157F
analogous
#637F15 #2E7F15 #157F31
triadic
#2E7F15 #152E7F #7F152E
tetradic
#2E7F15 #15637F #66157F #7F3115
square
#2E7F15 #15637F #66157F #7F3115
split-complementary
#2E7F15 #31157F #7F1563
monochromatic
#0A1A04 #1B4A0C #2E7F15 #41B41E #5ADD31

Accessibility & contrast

On white

5.04
#2E7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F15#FFFFFF#000000##FFFFFF
##2E7F151.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#237B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f15;
/* rgb */ color: rgb(46, 127, 21);
/* oklch */ color: oklch(52.6% 0.157 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a55d',
    500: '#2e7f15',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f15;
$custom-light: #72a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f15",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 105.849,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.15736,
    "h": 139.8
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#2E7F15
secondary
#983CB4
accent
#39EEC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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