#2E8945#2E8945

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

Color values

HEX#2E8945
RGBrgb(46, 137, 69)
HSLhsl(135, 50%, 36%)
HSVhsv(135, 66%, 54%)
CMYKcmyk(66.4%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.57, -42.21, 28.67)
CIE-LCHlch(50.57, 51.03, 145.82°)
OKLaboklab(55.96% -0.1139 0.0698)
OKLCHoklch(55.96% 0.134 148.5)
XYZxyz(11.1457, 18.9007, 8.6899)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8945 #892E72
analogous
#44892E #2E8945 #2E8972
triadic
#2E8945 #452E89 #89452E
tetradic
#2E8945 #2E4489 #892E72 #89722E
square
#2E8945 #2E4489 #892E72 #89722E
split-complementary
#2E8945 #722E89 #892E44
monochromatic
#0F2D17 #1F5B2E #2E8945 #3DB75C #66CC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8945#FFFFFF#000000##000000
##2E89451.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)
#8A7D3F
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#0E8679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8945;
/* rgb */ color: rgb(46, 137, 69);
/* oklch */ color: oklch(56.0% 0.134 148.5);
Tailwind
colors: {
  custom: {
    50: '#72ac7a',
    500: '#2e8945',
    950: '#000000',
  },
}
SCSS
$custom: #2e8945;
$custom-light: #72ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8945",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 135.165,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.13356,
    "h": 148.5
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#2E8945
secondary
#B2609E
accent
#4FB6D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2E8945

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

Preview Lab → · Contrast checker → · Palette generator →

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