#2E6E1F#2E6E1F

#2E6E1F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.130 H 140.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2E6E1F
RGBrgb(46, 110, 31)
HSLhsl(109, 56%, 28%)
HSVhsv(109, 72%, 43%)
CMYKcmyk(58.2%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.95, -36.38, 36.38)
CIE-LCHlch(40.95, 51.45, 135.00°)
OKLaboklab(47.88% -0.0997 0.0833)
OKLCHoklch(47.88% 0.13 140.2)
XYZxyz(6.9497, 11.8311, 3.2135)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6E1F #5F1F6E
analogous
#556E1F #2E6E1F #1F6E38
triadic
#2E6E1F #1F2E6E #6E1F2E
tetradic
#2E6E1F #1F556E #5F1F6E #6E381F
square
#2E6E1F #1F556E #5F1F6E #6E381F
split-complementary
#2E6E1F #381F6E #6E1F55
monochromatic
#0A1807 #1A3E12 #2E6E1F #429E2C #59C93F

Accessibility & contrast

On white

6.24
#2E6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2E6E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6E1F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6E1F#FFFFFF#000000##FFFFFF
##2E6E1F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#276A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6e1f;
/* rgb */ color: rgb(46, 110, 31);
/* oklch */ color: oklch(47.9% 0.130 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e985f',
    500: '#2e6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6e1f;
$custom-light: #6e985f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6e1f",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 108.608,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.12993,
    "h": 140.2
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#2E6E1F
secondary
#9147A2
accent
#48DFC3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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