#2E6B1F#2E6B1F

#2E6B1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.126 H 140.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2E6B1F
RGBrgb(46, 107, 31)
HSLhsl(108, 55%, 27%)
HSVhsv(108, 71%, 42%)
CMYKcmyk(57%, 0%, 71%, 58%)
CIE-LABlab(39.91, -35.14, 35.27)
CIE-LCHlch(39.91, 49.79, 134.89°)
OKLaboklab(47.02% -0.0964 0.0809)
OKLCHoklch(47.02% 0.126 140)
XYZxyz(6.6314, 11.1946, 3.1074)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6B1F #5C1F6B
analogous
#546B1F #2E6B1F #1F6B36
triadic
#2E6B1F #1F2E6B #6B1F2E
tetradic
#2E6B1F #1F546B #5C1F6B #6B361F
square
#2E6B1F #1F546B #5C1F6B #6B361F
split-complementary
#2E6B1F #361F6B #6B1F54
monochromatic
#0A1807 #1A3C11 #2E6B1F #429A2D #59C73D

Accessibility & contrast

On white

6.48
#2E6B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E6B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6B1F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6B1F#FFFFFF#000000##FFFFFF
##2E6B1F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#27675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6b1f;
/* rgb */ color: rgb(46, 107, 31);
/* oklch */ color: oklch(47.0% 0.126 140.0);
Tailwind
colors: {
  custom: {
    50: '#6e965f',
    500: '#2e6b1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6b1f;
$custom-light: #6e965f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6b1f",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 108.158,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47024,
    "c": 0.12585,
    "h": 140
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#2E6B1F
secondary
#8E479F
accent
#49DEC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2E6B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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