#2E6820#2E6820

#2E6820 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.121 H 140.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2E6820
RGBrgb(46, 104, 32)
HSLhsl(108, 53%, 27%)
HSVhsv(108, 69%, 41%)
CMYKcmyk(55.8%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.87, -33.77, 33.70)
CIE-LCHlch(38.87, 47.71, 135.06°)
OKLaboklab(46.18% -0.0926 0.0777)
OKLCHoklch(46.18% 0.121 140)
XYZxyz(6.3375, 10.5853, 3.0754)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6820 #5A2068
analogous
#526820 #2E6820 #206836
triadic
#2E6820 #202E68 #68202E
tetradic
#2E6820 #205268 #5A2068 #683620
square
#2E6820 #205268 #5A2068 #683620
split-complementary
#2E6820 #362068 #682052
monochromatic
#0A1707 #193912 #2E6820 #43972E #59C43F

Accessibility & contrast

On white

6.74
#2E6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6820
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6820#FFFFFF#000000##FFFFFF
##2E68201.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F17
Deuteranopia (green-blind)
#635A26
Tritanopia (blue-blind)
#286559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6820;
/* rgb */ color: rgb(46, 104, 32);
/* oklch */ color: oklch(46.2% 0.121 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d945f',
    500: '#2e6820',
    950: '#000000',
  },
}
SCSS
$custom: #2e6820;
$custom-light: #6d945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6820",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 108.333,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.12092,
    "h": 140
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#2E6820
secondary
#8C489C
accent
#4BDCC0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2E6820

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

Preview Lab → · Contrast checker → · Palette generator →

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