#2E7C26#2E7C26

#2E7C26 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.143 H 141.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E7C26
RGBrgb(46, 124, 38)
HSLhsl(114, 53%, 32%)
HSVhsv(114, 69%, 49%)
CMYKcmyk(62.9%, 0%, 69.4%, 51.4%)
CIE-LABlab(45.82, -41.27, 38.49)
CIE-LCHlch(45.82, 56.43, 136.99°)
OKLaboklab(51.92% -0.1125 0.0886)
OKLCHoklch(51.92% 0.143 141.8)
XYZxyz(8.6838, 15.1353, 4.2971)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C26 #74267C
analogous
#597C26 #2E7C26 #267C49
triadic
#2E7C26 #262E7C #7C262E
tetradic
#2E7C26 #26597C #74267C #7C4926
square
#2E7C26 #26597C #74267C #7C4926
split-complementary
#2E7C26 #49267C #7C2659
monochromatic
#0B1E09 #1D4D18 #2E7C26 #3FAB34 #5DCA52

Accessibility & contrast

On white

5.21
#2E7C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E7C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C26
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C26#FFFFFF#000000##FFFFFF
##2E7C261.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#21786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c26;
/* rgb */ color: rgb(46, 124, 38);
/* oklch */ color: oklch(51.9% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a365',
    500: '#2e7c26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c26;
$custom-light: #71a365;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c26",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 114.419,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.14323,
    "h": 141.8
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#2E7C26
secondary
#A550AE
accent
#4BDCCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C26

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

Preview Lab → · Contrast checker → · Palette generator →

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