#2E7015#2E7015

#2E7015 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.139 H 138.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2E7015
RGBrgb(46, 112, 21)
HSLhsl(104, 68%, 26%)
HSVhsv(104, 81%, 44%)
CMYKcmyk(58.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.57, -38.00, 40.96)
CIE-LCHlch(41.57, 55.87, 132.85°)
OKLaboklab(48.37% -0.1048 0.0914)
OKLCHoklch(48.37% 0.139 138.9)
XYZxyz(7.0560, 12.2227, 2.6967)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7015 #571570
analogous
#5B7015 #2E7015 #157029
triadic
#2E7015 #152E70 #70152E
tetradic
#2E7015 #155B70 #571570 #702915
square
#2E7015 #155B70 #571570 #702915
split-complementary
#2E7015 #291570 #70155B
monochromatic
#0B1A05 #193C0B #2E7015 #43A41F #58D729

Accessibility & contrast

On white

6.10
#2E7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7015
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7015#FFFFFF#000000##FFFFFF
##2E70151.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#276C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7015;
/* rgb */ color: rgb(46, 112, 21);
/* oklch */ color: oklch(48.4% 0.139 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a5a',
    500: '#2e7015',
    950: '#000000',
  },
}
SCSS
$custom: #2e7015;
$custom-light: #6f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7015",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 103.516,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.139,
    "h": 138.9
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#2E7015
secondary
#893BA6
accent
#3DEBBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7015

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

Preview Lab → · Contrast checker → · Palette generator →

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