#2E7626#2E7626

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

Color values

HEX#2E7626
RGBrgb(46, 118, 38)
HSLhsl(114, 51%, 31%)
HSVhsv(114, 68%, 46%)
CMYKcmyk(61%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.77, -38.90, 36.26)
CIE-LCHlch(43.77, 53.18, 137.01°)
OKLaboklab(50.23% -0.1061 0.0839)
OKLCHoklch(50.23% 0.135 141.7)
XYZxyz(7.9546, 13.6769, 4.0541)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7626 #6E2676
analogous
#567626 #2E7626 #267646
triadic
#2E7626 #262E76 #76262E
tetradic
#2E7626 #265676 #6E2676 #764626
square
#2E7626 #265676 #6E2676 #764626
split-complementary
#2E7626 #462676 #762656
monochromatic
#0A1908 #1C4817 #2E7626 #40A435 #5CC750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7626#FFFFFF#000000##FFFFFF
##2E76261.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)
#796B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#237265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7626;
/* rgb */ color: rgb(46, 118, 38);
/* oklch */ color: oklch(50.2% 0.135 141.7);
Tailwind
colors: {
  custom: {
    50: '#6f9e64',
    500: '#2e7626',
    950: '#000000',
  },
}
SCSS
$custom: #2e7626;
$custom-light: #6f9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7626",
  "rgb": {
    "r": 46,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 114,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.1353,
    "h": 141.7
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#2E7626
secondary
#9F4FA8
accent
#4DDBCD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7626

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

Preview Lab → · Contrast checker → · Palette generator →

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