#2E7B15#2E7B15

#2E7B15 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B15
RGBrgb(46, 123, 21)
HSLhsl(105, 71%, 28%)
HSVhsv(105, 83%, 48%)
CMYKcmyk(62.6%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.36, -42.25, 44.55)
CIE-LCHlch(45.36, 61.40, 133.49°)
OKLaboklab(51.5% -0.1162 0.0989)
OKLCHoklch(51.5% 0.153 139.6)
XYZxyz(8.3447, 14.8001, 3.1263)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B15 #62157B
analogous
#617B15 #2E7B15 #157B2F
triadic
#2E7B15 #152E7B #7B152E
tetradic
#2E7B15 #15617B #62157B #7B2F15
square
#2E7B15 #15617B #62157B #7B2F15
split-complementary
#2E7B15 #2F157B #7B1561
monochromatic
#0A1A04 #1A470C #2E7B15 #42AF1E #59DB2F

Accessibility & contrast

On white

5.30
#2E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B15#FFFFFF#000000##FFFFFF
##2E7B151.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#247768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b15;
/* rgb */ color: rgb(46, 123, 21);
/* oklch */ color: oklch(51.5% 0.153 139.6);
Tailwind
colors: {
  custom: {
    50: '#71a25c',
    500: '#2e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b15;
$custom-light: #71a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b15",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 105.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.15257,
    "h": 139.6
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#2E7B15
secondary
#943BB0
accent
#3AEEC2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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