#2E8F26#2E8F26

#2E8F26 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.167 H 142.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2E8F26
RGBrgb(46, 143, 38)
HSLhsl(115, 58%, 35%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(67.8%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.25, -48.32, 45.25)
CIE-LCHlch(52.25, 66.20, 136.88°)
OKLaboklab(57.24% -0.1316 0.1028)
OKLCHoklch(57.24% 0.167 142)
XYZxyz(11.2984, 20.3645, 5.1687)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F26 #87268F
analogous
#628F26 #2E8F26 #268F53
triadic
#2E8F26 #262E8F #8F262E
tetradic
#2E8F26 #26628F #87268F #8F5326
square
#2E8F26 #26628F #87268F #8F5326
split-complementary
#2E8F26 #53268F #8F2662
monochromatic
#0F2E0C #1E5F19 #2E8F26 #3EBF33 #65D45C

Accessibility & contrast

On white

4.14
#2E8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2E8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F26
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F26#FFFFFF#000000##000000
##2E8F261.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#198B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f26;
/* rgb */ color: rgb(46, 143, 38);
/* oklch */ color: oklch(57.2% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b167',
    500: '#2e8f26',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f26;
$custom-light: #75b167;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f26",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 115.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.16701,
    "h": 142
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#2E8F26
secondary
#B158B9
accent
#47E1D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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