#2E6F1A#2E6F1A

#2E6F1A is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.135 H 139.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2E6F1A
RGBrgb(46, 111, 26)
HSLhsl(106, 62%, 27%)
HSVhsv(106, 77%, 44%)
CMYKcmyk(58.6%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.25, -37.23, 38.79)
CIE-LCHlch(41.25, 53.76, 133.83°)
OKLaboklab(48.12% -0.1024 0.0876)
OKLCHoklch(48.12% 0.135 139.5)
XYZxyz(6.9973, 12.0237, 2.9292)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6F1A #5B1A6F
analogous
#596F1A #2E6F1A #1A6F30
triadic
#2E6F1A #1A2E6F #6F1A2E
tetradic
#2E6F1A #1A596F #5B1A6F #6F301A
square
#2E6F1A #1A596F #5B1A6F #6F301A
split-complementary
#2E6F1A #301A6F #6F1A59
monochromatic
#0A1906 #193D0E #2E6F1A #43A126 #59CF34

Accessibility & contrast

On white

6.17
#2E6F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E6F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6F1A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6F1A#FFFFFF#000000##FFFFFF
##2E6F1A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#276B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6f1a;
/* rgb */ color: rgb(46, 111, 26);
/* oklch */ color: oklch(48.1% 0.135 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f995d',
    500: '#2e6f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e6f1a;
$custom-light: #6f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6f1a",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 105.882,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.13473,
    "h": 139.5
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#2E6F1A
secondary
#8D41A4
accent
#43E5BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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