#2E7A26#2E7A26

#2E7A26 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.141 H 141.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2E7A26
RGBrgb(46, 122, 38)
HSLhsl(114, 53%, 31%)
HSVhsv(114, 69%, 48%)
CMYKcmyk(62.3%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.14, -40.49, 37.75)
CIE-LCHlch(45.14, 55.36, 137.00°)
OKLaboklab(51.36% -0.1104 0.087)
OKLCHoklch(51.36% 0.141 141.8)
XYZxyz(8.4357, 14.6391, 4.2144)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A26 #72267A
analogous
#587A26 #2E7A26 #267A48
triadic
#2E7A26 #262E7A #7A262E
tetradic
#2E7A26 #26587A #72267A #7A4826
square
#2E7A26 #26587A #72267A #7A4826
split-complementary
#2E7A26 #48267A #7A2658
monochromatic
#0B1D09 #1C4B17 #2E7A26 #40A935 #5DC951

Accessibility & contrast

On white

5.35
#2E7A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E7A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A26
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A26#FFFFFF#000000##FFFFFF
##2E7A261.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#74682E
Tritanopia (blue-blind)
#227669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a26;
/* rgb */ color: rgb(46, 122, 38);
/* oklch */ color: oklch(51.4% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a165',
    500: '#2e7a26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a26;
$custom-light: #70a165;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a26",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 114.286,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.14061,
    "h": 141.8
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#2E7A26
secondary
#A350AC
accent
#4CDCCE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A26

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

Preview Lab → · Contrast checker → · Palette generator →

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