#2E6C16#2E6C16

#2E6C16 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.133 H 138.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2E6C16
RGBrgb(46, 108, 22)
HSLhsl(103, 66%, 25%)
HSVhsv(103, 80%, 42%)
CMYKcmyk(57.4%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.19, -36.32, 39.26)
CIE-LCHlch(40.19, 53.48, 132.77°)
OKLaboklab(47.23% -0.1002 0.088)
OKLCHoklch(47.23% 0.133 138.7)
XYZxyz(6.6338, 11.3634, 2.6027)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6C16 #54166C
analogous
#596C16 #2E6C16 #166C29
triadic
#2E6C16 #162E6C #6C162E
tetradic
#2E6C16 #16596C #54166C #6C2916
square
#2E6C16 #16596C #54166C #6C2916
split-complementary
#2E6C16 #29166C #6C1659
monochromatic
#0B1905 #18390C #2E6C16 #449F20 #59D22B

Accessibility & contrast

On white

6.42
#2E6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2E6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6C16
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6C16#FFFFFF#000000##FFFFFF
##2E6C161.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#28685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e6c16;
/* rgb */ color: rgb(46, 108, 22);
/* oklch */ color: oklch(47.2% 0.133 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e975a',
    500: '#2e6c16',
    950: '#000000',
  },
}
SCSS
$custom: #2e6c16;
$custom-light: #6e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6c16",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 103.256,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47233,
    "c": 0.13332,
    "h": 138.7
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#2E6C16
secondary
#863CA2
accent
#3FE9BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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