#2E8A26#2E8A26

#2E8A26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.161 H 142.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E8A26
RGBrgb(46, 138, 38)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 72%, 54%)
CMYKcmyk(66.7%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.57, -46.52, 43.51)
CIE-LCHlch(50.57, 63.70, 136.91°)
OKLaboklab(55.85% -0.1268 0.0991)
OKLCHoklch(55.85% 0.161 142)
XYZxyz(10.5645, 18.8967, 4.9240)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A26 #82268A
analogous
#608A26 #2E8A26 #268A50
triadic
#2E8A26 #262E8A #8A262E
tetradic
#2E8A26 #26608A #82268A #8A5026
square
#2E8A26 #26608A #82268A #8A5026
split-complementary
#2E8A26 #50268A #8A2660
monochromatic
#0E2A0C #1E5A19 #2E8A26 #3EBA33 #63D159

Accessibility & contrast

On white

4.39
#2E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A26
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A26#FFFFFF#000000##000000
##2E8A261.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#1C8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a26;
/* rgb */ color: rgb(46, 138, 38);
/* oklch */ color: oklch(55.8% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#74ad66',
    500: '#2e8a26',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a26;
$custom-light: #74ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a26",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 115.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.16093,
    "h": 142
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#2E8A26
secondary
#AE56B6
accent
#48E0D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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