#2E7C15#2E7C15

#2E7C15 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.154 H 139.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2E7C15
RGBrgb(46, 124, 21)
HSLhsl(105, 71%, 28%)
HSVhsv(105, 83%, 49%)
CMYKcmyk(62.9%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.70, -42.63, 44.87)
CIE-LCHlch(45.70, 61.89, 133.53°)
OKLaboklab(51.79% -0.1172 0.0995)
OKLCHoklch(51.79% 0.154 139.7)
XYZxyz(8.4693, 15.0495, 3.1678)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C15 #63157C
analogous
#617C15 #2E7C15 #157C2F
triadic
#2E7C15 #152E7C #7C152E
tetradic
#2E7C15 #15617C #63157C #7C2F15
square
#2E7C15 #15617C #63157C #7C2F15
split-complementary
#2E7C15 #2F157C #7C1561
monochromatic
#0A1A04 #1B480C #2E7C15 #41B01E #59DC30

Accessibility & contrast

On white

5.24
#2E7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C15
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C15#FFFFFF#000000##FFFFFF
##2E7C151.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#247869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c15;
/* rgb */ color: rgb(46, 124, 21);
/* oklch */ color: oklch(51.8% 0.154 139.7);
Tailwind
colors: {
  custom: {
    50: '#72a35c',
    500: '#2e7c15',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c15;
$custom-light: #72a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c15",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 105.437,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.15377,
    "h": 139.7
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#2E7C15
secondary
#953CB1
accent
#3AEEC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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