#2E6A1F#2E6A1F

#2E6A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.124 H 139.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2E6A1F
RGBrgb(46, 106, 31)
HSLhsl(108, 55%, 27%)
HSVhsv(108, 71%, 42%)
CMYKcmyk(56.6%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.56, -34.72, 34.90)
CIE-LCHlch(39.56, 49.23, 134.85°)
OKLaboklab(46.74% -0.0953 0.0801)
OKLCHoklch(46.74% 0.124 139.9)
XYZxyz(6.5278, 10.9873, 3.0728)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A1F #5B1F6A
analogous
#546A1F #2E6A1F #1F6A36
triadic
#2E6A1F #1F2E6A #6A1F2E
tetradic
#2E6A1F #1F546A #5B1F6A #6A361F
square
#2E6A1F #1F546A #5B1F6A #6A361F
split-complementary
#2E6A1F #361F6A #6A1F54
monochromatic
#0A1807 #193B11 #2E6A1F #43992D #59C63D

Accessibility & contrast

On white

6.57
#2E6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E6A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A1F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A1F#FFFFFF#000000##FFFFFF
##2E6A1F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#28665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a1f;
/* rgb */ color: rgb(46, 106, 31);
/* oklch */ color: oklch(46.7% 0.124 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e955f',
    500: '#2e6a1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a1f;
$custom-light: #6e955f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a1f",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 108,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.12449,
    "h": 139.9
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#2E6A1F
secondary
#8D479E
accent
#4ADEC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2E6A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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