#2E6E1B#2E6E1B

#2E6E1B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.133 H 139.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2E6E1B
RGBrgb(46, 110, 27)
HSLhsl(106, 61%, 27%)
HSVhsv(106, 75%, 43%)
CMYKcmyk(58.2%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.91, -36.74, 38.04)
CIE-LCHlch(40.91, 52.88, 134.00°)
OKLaboklab(47.85% -0.101 0.0862)
OKLCHoklch(47.85% 0.133 139.5)
XYZxyz(6.9002, 11.8113, 2.9529)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6E1B #5B1B6E
analogous
#586E1B #2E6E1B #1B6E32
triadic
#2E6E1B #1B2E6E #6E1B2E
tetradic
#2E6E1B #1B586E #5B1B6E #6E321B
square
#2E6E1B #1B586E #5B1B6E #6E321B
split-complementary
#2E6E1B #321B6E #6E1B58
monochromatic
#0A1906 #193D0F #2E6E1B #439F27 #59CE36

Accessibility & contrast

On white

6.25
#2E6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E6E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6E1B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6E1B#FFFFFF#000000##FFFFFF
##2E6E1B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#276A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6e1b;
/* rgb */ color: rgb(46, 110, 27);
/* oklch */ color: oklch(47.8% 0.133 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e985d',
    500: '#2e6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e6e1b;
$custom-light: #6e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6e1b",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 106.265,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.13276,
    "h": 139.5
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#2E6E1B
secondary
#8D42A3
accent
#44E4BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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