#2E7627#2E7627

#2E7627 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.134 H 141.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2E7627
RGBrgb(46, 118, 39)
HSLhsl(115, 50%, 31%)
HSVhsv(115, 67%, 46%)
CMYKcmyk(61%, 0%, 66.9%, 53.7%)
CIE-LABlab(43.78, -38.80, 35.81)
CIE-LCHlch(43.78, 52.80, 137.29°)
OKLaboklab(50.24% -0.1058 0.0831)
OKLCHoklch(50.24% 0.134 141.9)
XYZxyz(7.9709, 13.6835, 4.1402)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7627 #6F2776
analogous
#557627 #2E7627 #277647
triadic
#2E7627 #272E76 #76272E
tetradic
#2E7627 #275576 #6F2776 #764727
square
#2E7627 #275576 #6F2776 #764727
split-complementary
#2E7627 #472776 #762755
monochromatic
#0A1A09 #1C4818 #2E7627 #40A436 #5CC652

Accessibility & contrast

On white

5.62
#2E7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2E7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7627
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7627#FFFFFF#000000##FFFFFF
##2E76271.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1D
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#237266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7627;
/* rgb */ color: rgb(46, 118, 39);
/* oklch */ color: oklch(50.2% 0.134 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9e65',
    500: '#2e7627',
    950: '#000000',
  },
}
SCSS
$custom: #2e7627;
$custom-light: #6f9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7627",
  "rgb": {
    "r": 46,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 114.684,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.13449,
    "h": 141.9
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#2E7627
secondary
#A051A8
accent
#4EDACD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7627

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

Preview Lab → · Contrast checker → · Palette generator →

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