#2E7F26#2E7F26

#2E7F26 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.147 H 141.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7F26
RGBrgb(46, 127, 38)
HSLhsl(115, 54%, 32%)
HSVhsv(115, 70%, 50%)
CMYKcmyk(63.8%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.84, -42.42, 39.59)
CIE-LCHlch(46.84, 58.02, 136.98°)
OKLaboklab(52.77% -0.1157 0.0909)
OKLCHoklch(52.77% 0.147 141.8)
XYZxyz(9.0655, 15.8987, 4.4244)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F26 #77267F
analogous
#5A7F26 #2E7F26 #267F4B
triadic
#2E7F26 #262E7F #7F262E
tetradic
#2E7F26 #265A7F #77267F #7F4B26
square
#2E7F26 #265A7F #77267F #7F4B26
split-complementary
#2E7F26 #4B267F #7F265A
monochromatic
#0C210A #1D5018 #2E7F26 #3FAE34 #5ECC54

Accessibility & contrast

On white

5.02
#2E7F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E7F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F26#FFFFFF#000000##FFFFFF
##2E7F261.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#207B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f26;
/* rgb */ color: rgb(46, 127, 38);
/* oklch */ color: oklch(52.8% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a565',
    500: '#2e7f26',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f26;
$custom-light: #71a565;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f26",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 114.607,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.14712,
    "h": 141.8
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#2E7F26
secondary
#A851B0
accent
#4ADDD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F26

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

Preview Lab → · Contrast checker → · Palette generator →

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