#2E7318#2E7318

#2E7318 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.141 H 139.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2E7318
RGBrgb(46, 115, 24)
HSLhsl(105, 65%, 27%)
HSVhsv(105, 79%, 45%)
CMYKcmyk(60%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.62, -38.98, 40.91)
CIE-LCHlch(42.62, 56.50, 133.61°)
OKLaboklab(49.25% -0.1072 0.0917)
OKLCHoklch(49.25% 0.141 139.5)
XYZxyz(7.4220, 12.9076, 2.9643)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7318 #5D1873
analogous
#5B7318 #2E7318 #187330
triadic
#2E7318 #182E73 #73182E
tetradic
#2E7318 #185B73 #5D1873 #733018
square
#2E7318 #185B73 #5D1873 #733018
split-complementary
#2E7318 #301873 #73185B
monochromatic
#0A1905 #1A400D #2E7318 #42A623 #59D431

Accessibility & contrast

On white

5.86
#2E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7318
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7318#FFFFFF#000000##FFFFFF
##2E73181.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7318;
/* rgb */ color: rgb(46, 115, 24);
/* oklch */ color: oklch(49.2% 0.141 139.5);
Tailwind
colors: {
  custom: {
    50: '#709c5c',
    500: '#2e7318',
    950: '#000000',
  },
}
SCSS
$custom: #2e7318;
$custom-light: #709c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7318",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 105.495,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.14109,
    "h": 139.5
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#2E7318
secondary
#8F3FA8
accent
#3FE8C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7318

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

Preview Lab → · Contrast checker → · Palette generator →

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