#2E6616#2E6616

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

Color values

HEX#2E6616
RGBrgb(46, 102, 22)
HSLhsl(102, 65%, 24%)
HSVhsv(102, 78%, 40%)
CMYKcmyk(54.9%, 0%, 78.4%, 60%)
CIE-LABlab(38.09, -33.83, 37.20)
CIE-LCHlch(38.09, 50.28, 132.28°)
OKLaboklab(45.51% -0.0935 0.0837)
OKLCHoklch(45.51% 0.125 138.2)
XYZxyz(6.0227, 10.1411, 2.3990)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6616 #4E1666
analogous
#566616 #2E6616 #166626
triadic
#2E6616 #162E66 #66162E
tetradic
#2E6616 #165666 #4E1666 #662616
square
#2E6616 #165666 #4E1666 #662616
split-complementary
#2E6616 #261666 #661656
monochromatic
#0B1905 #17340B #2E6616 #459821 #5BCB2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6616#FFFFFF#000000##FFFFFF
##2E66161.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)
#695D06
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6616;
/* rgb */ color: rgb(46, 102, 22);
/* oklch */ color: oklch(45.5% 0.125 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d9259',
    500: '#2e6616',
    950: '#000000',
  },
}
SCSS
$custom: #2e6616;
$custom-light: #6d9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6616",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 102,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45509,
    "c": 0.12544,
    "h": 138.2
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#2E6616
secondary
#7F3B9D
accent
#40E8B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E6616

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

Preview Lab → · Contrast checker → · Palette generator →

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