#2E6F1F#2E6F1F

#2E6F1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.131 H 140.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2E6F1F
RGBrgb(46, 111, 31)
HSLhsl(109, 56%, 28%)
HSVhsv(109, 72%, 44%)
CMYKcmyk(58.6%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.29, -36.79, 36.74)
CIE-LCHlch(41.29, 51.99, 135.04°)
OKLaboklab(48.17% -0.1009 0.084)
OKLCHoklch(48.17% 0.131 140.2)
XYZxyz(7.0582, 12.0481, 3.2496)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6F1F #601F6F
analogous
#566F1F #2E6F1F #1F6F38
triadic
#2E6F1F #1F2E6F #6F1F2E
tetradic
#2E6F1F #1F566F #601F6F #6F381F
square
#2E6F1F #1F566F #601F6F #6F381F
split-complementary
#2E6F1F #381F6F #6F1F56
monochromatic
#0A1807 #1A3F12 #2E6F1F #429F2C #59C93F

Accessibility & contrast

On white

6.16
#2E6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2E6F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6F1F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6F1F#FFFFFF#000000##FFFFFF
##2E6F1F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#266B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6f1f;
/* rgb */ color: rgb(46, 111, 31);
/* oklch */ color: oklch(48.2% 0.131 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e995f',
    500: '#2e6f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6f1f;
$custom-light: #6e995f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6f1f",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 108.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.13126,
    "h": 140.2
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#2E6F1F
secondary
#9247A3
accent
#48E0C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E6F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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