#2E7818#2E7818

#2E7818 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.147 H 139.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2E7818
RGBrgb(46, 120, 24)
HSLhsl(106, 67%, 28%)
HSVhsv(106, 80%, 47%)
CMYKcmyk(61.7%, 0%, 80%, 52.9%)
CIE-LABlab(44.35, -40.92, 42.59)
CIE-LCHlch(44.35, 59.06, 133.86°)
OKLaboklab(50.67% -0.1124 0.0952)
OKLCHoklch(50.67% 0.147 139.7)
XYZxyz(8.0077, 14.0790, 3.1595)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7818 #621878
analogous
#5E7818 #2E7818 #187832
triadic
#2E7818 #182E78 #78182E
tetradic
#2E7818 #185E78 #621878 #783218
square
#2E7818 #185E78 #621878 #783218
split-complementary
#2E7818 #321878 #78185E
monochromatic
#0A1A05 #1A450E #2E7818 #42AB22 #59D634

Accessibility & contrast

On white

5.50
#2E7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2E7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7818
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7818#FFFFFF#000000##FFFFFF
##2E78181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#257466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7818;
/* rgb */ color: rgb(46, 120, 24);
/* oklch */ color: oklch(50.7% 0.147 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a05d',
    500: '#2e7818',
    950: '#000000',
  },
}
SCSS
$custom: #2e7818;
$custom-light: #71a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7818",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 106.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.14734,
    "h": 139.7
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#2E7818
secondary
#943FAD
accent
#3EEAC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2E7818

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

Preview Lab → · Contrast checker → · Palette generator →

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