#2E7B26#2E7B26

#2E7B26 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.142 H 141.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2E7B26
RGBrgb(46, 123, 38)
HSLhsl(114, 53%, 32%)
HSVhsv(114, 69%, 48%)
CMYKcmyk(62.6%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.48, -40.88, 38.12)
CIE-LCHlch(45.48, 55.89, 137.00°)
OKLaboklab(51.64% -0.1115 0.0878)
OKLCHoklch(51.64% 0.142 141.8)
XYZxyz(8.5591, 14.8859, 4.2556)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B26 #73267B
analogous
#597B26 #2E7B26 #267B49
triadic
#2E7B26 #262E7B #7B262E
tetradic
#2E7B26 #26597B #73267B #7B4926
square
#2E7B26 #26597B #73267B #7B4926
split-complementary
#2E7B26 #49267B #7B2659
monochromatic
#0B1D09 #1D4C18 #2E7B26 #3FAA34 #5DCA52

Accessibility & contrast

On white

5.28
#2E7B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2E7B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B26
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B26#FFFFFF#000000##FFFFFF
##2E7B261.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#22776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b26;
/* rgb */ color: rgb(46, 123, 38);
/* oklch */ color: oklch(51.6% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a265',
    500: '#2e7b26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b26;
$custom-light: #70a265;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b26",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 114.353,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.14192,
    "h": 141.8
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#2E7B26
secondary
#A450AD
accent
#4CDCCF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7B26

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

Preview Lab → · Contrast checker → · Palette generator →

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