#2E6318#2E6318

#2E6318 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.120 H 138.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2E6318
RGBrgb(46, 99, 24)
HSLhsl(102, 61%, 24%)
HSVhsv(102, 76%, 39%)
CMYKcmyk(53.5%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.06, -32.39, 35.34)
CIE-LCHlch(37.06, 47.94, 132.50°)
OKLaboklab(44.66% -0.0894 0.0801)
OKLCHoklch(44.66% 0.12 138.2)
XYZxyz(5.7532, 9.5701, 2.4080)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6318 #4D1863
analogous
#546318 #2E6318 #186328
triadic
#2E6318 #182E63 #63182E
tetradic
#2E6318 #185463 #4D1863 #632818
square
#2E6318 #185463 #4D1863 #632818
split-complementary
#2E6318 #281863 #631854
monochromatic
#0B1906 #17320C #2E6318 #459424 #5CC630

Accessibility & contrast

On white

7.21
#2E6318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E6318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6318
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6318#FFFFFF#000000##FFFFFF
##2E63181.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#5F561F
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6318;
/* rgb */ color: rgb(46, 99, 24);
/* oklch */ color: oklch(44.7% 0.120 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d905a',
    500: '#2e6318',
    950: '#000000',
  },
}
SCSS
$custom: #2e6318;
$custom-light: #6d905a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6318",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 102.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.12005,
    "h": 138.2
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#2E6318
secondary
#7E3E99
accent
#44E4B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6318

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

Preview Lab → · Contrast checker → · Palette generator →

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