#2E7D26#2E7D26

#2E7D26 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 141.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E7D26
RGBrgb(46, 125, 38)
HSLhsl(114, 53%, 32%)
HSVhsv(114, 70%, 49%)
CMYKcmyk(63.2%, 0%, 69.6%, 51%)
CIE-LABlab(46.16, -41.65, 38.86)
CIE-LCHlch(46.16, 56.96, 136.99°)
OKLaboklab(52.2% -0.1136 0.0894)
OKLCHoklch(52.2% 0.145 141.8)
XYZxyz(8.8097, 15.3872, 4.3391)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D26 #75267D
analogous
#5A7D26 #2E7D26 #267D4A
triadic
#2E7D26 #262E7D #7D262E
tetradic
#2E7D26 #265A7D #75267D #7D4A26
square
#2E7D26 #265A7D #75267D #7D4A26
split-complementary
#2E7D26 #4A267D #7D265A
monochromatic
#0B1F09 #1D4E18 #2E7D26 #3FAC34 #5ECB53

Accessibility & contrast

On white

5.15
#2E7D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E7D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D26
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D26#FFFFFF#000000##FFFFFF
##2E7D261.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d26;
/* rgb */ color: rgb(46, 125, 38);
/* oklch */ color: oklch(52.2% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a365',
    500: '#2e7d26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d26;
$custom-light: #71a365;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d26",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 114.483,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.14453,
    "h": 141.8
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#2E7D26
secondary
#A650AF
accent
#4BDDCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D26

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

Preview Lab → · Contrast checker → · Palette generator →

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