#2E7E26#2E7E26

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

Color values

HEX#2E7E26
RGBrgb(46, 126, 38)
HSLhsl(115, 54%, 32%)
HSVhsv(115, 70%, 49%)
CMYKcmyk(63.5%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.50, -42.04, 39.22)
CIE-LCHlch(46.50, 57.49, 136.98°)
OKLaboklab(52.49% -0.1146 0.0901)
OKLCHoklch(52.49% 0.146 141.8)
XYZxyz(8.9370, 15.6416, 4.3815)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E26 #76267E
analogous
#5A7E26 #2E7E26 #267E4A
triadic
#2E7E26 #262E7E #7E262E
tetradic
#2E7E26 #265A7E #76267E #7E4A26
square
#2E7E26 #265A7E #76267E #7E4A26
split-complementary
#2E7E26 #4A267E #7E265A
monochromatic
#0C200A #1D4F18 #2E7E26 #3FAD34 #5ECB53

Accessibility & contrast

On white

5.09
#2E7E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E7E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E26#FFFFFF#000000##FFFFFF
##2E7E261.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#217A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e26;
/* rgb */ color: rgb(46, 126, 38);
/* oklch */ color: oklch(52.5% 0.146 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a465',
    500: '#2e7e26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e26;
$custom-light: #71a465;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e26",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 114.545,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.14583,
    "h": 141.8
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#2E7E26
secondary
#A750B0
accent
#4BDDD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E26

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

Preview Lab → · Contrast checker → · Palette generator →

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