#2E7518#2E7518

#2E7518 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.144 H 139.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E7518
RGBrgb(46, 117, 24)
HSLhsl(106, 66%, 28%)
HSVhsv(106, 79%, 46%)
CMYKcmyk(60.7%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.31, -39.76, 41.58)
CIE-LCHlch(43.31, 57.53, 133.72°)
OKLaboklab(49.82% -0.1093 0.0931)
OKLCHoklch(49.82% 0.144 139.6)
XYZxyz(7.6525, 13.3687, 3.0411)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7518 #5F1875
analogous
#5D7518 #2E7518 #187530
triadic
#2E7518 #182E75 #75182E
tetradic
#2E7518 #185D75 #5F1875 #753018
square
#2E7518 #185D75 #5F1875 #753018
split-complementary
#2E7518 #301875 #75185D
monochromatic
#0A1905 #1A420E #2E7518 #42A822 #59D532

Accessibility & contrast

On white

5.72
#2E7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7518
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7518#FFFFFF#000000##FFFFFF
##2E75181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e7518;
/* rgb */ color: rgb(46, 117, 24);
/* oklch */ color: oklch(49.8% 0.144 139.6);
Tailwind
colors: {
  custom: {
    50: '#709d5d',
    500: '#2e7518',
    950: '#000000',
  },
}
SCSS
$custom: #2e7518;
$custom-light: #709d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7518",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 105.806,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.14361,
    "h": 139.6
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#2E7518
secondary
#913FAA
accent
#3FE9C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7518

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

Preview Lab → · Contrast checker → · Palette generator →

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