#2E6618#2E6618

#2E6618 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.124 H 138.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E6618
RGBrgb(46, 102, 24)
HSLhsl(103, 62%, 25%)
HSVhsv(103, 76%, 40%)
CMYKcmyk(54.9%, 0%, 76.5%, 60%)
CIE-LABlab(38.11, -33.67, 36.41)
CIE-LCHlch(38.11, 49.59, 132.76°)
OKLaboklab(45.53% -0.0929 0.0823)
OKLCHoklch(45.53% 0.124 138.5)
XYZxyz(6.0427, 10.1491, 2.5045)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6618 #501866
analogous
#556618 #2E6618 #186629
triadic
#2E6618 #182E66 #66182E
tetradic
#2E6618 #185566 #501866 #662918
square
#2E6618 #185566 #501866 #662918
split-complementary
#2E6618 #291866 #661855
monochromatic
#0B1906 #18340C #2E6618 #449824 #5BC92F

Accessibility & contrast

On white

6.93
#2E6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6618
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6618#FFFFFF#000000##FFFFFF
##2E66181.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#296257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6618;
/* rgb */ color: rgb(46, 102, 24);
/* oklch */ color: oklch(45.5% 0.124 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d925a',
    500: '#2e6618',
    950: '#000000',
  },
}
SCSS
$custom: #2e6618;
$custom-light: #6d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6618",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 103.077,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.12413,
    "h": 138.5
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#2E6618
secondary
#813E9C
accent
#43E5B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E6618

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

Preview Lab → · Contrast checker → · Palette generator →

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