#2E8F40#2E8F40

#2E8F40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.147 H 146.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2E8F40
RGBrgb(46, 143, 64)
HSLhsl(131, 51%, 37%)
HSVhsv(131, 68%, 56%)
CMYKcmyk(67.8%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.50, -45.32, 33.65)
CIE-LCHlch(52.50, 56.45, 143.40°)
OKLaboklab(57.54% -0.1223 0.0806)
OKLCHoklch(57.54% 0.147 146.6)
XYZxyz(11.8738, 20.5947, 8.1989)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F40 #8F2E7D
analogous
#4D8F2E #2E8F40 #2E8F71
triadic
#2E8F40 #402E8F #8F402E
tetradic
#2E8F40 #2E4D8F #8F2E7D #8F712E
square
#2E8F40 #2E4D8F #8F2E7D #8F712E
split-complementary
#2E8F40 #712E8F #8F2E4D
monochromatic
#103217 #1F612B #2E8F40 #3DBD55 #69CF7C

Accessibility & contrast

On white

4.10
#2E8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2E8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F40#FFFFFF#000000##000000
##2E8F401.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#0D8C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f40;
/* rgb */ color: rgb(46, 143, 64);
/* oklch */ color: oklch(57.5% 0.147 146.6);
Tailwind
colors: {
  custom: {
    50: '#73b177',
    500: '#2e8f40',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f40;
$custom-light: #73b177;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f40",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 131.134,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.14652,
    "h": 146.6
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#2E8F40
secondary
#B663A6
accent
#4DC0DB
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2E8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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