#2E842D#2E842D

#2E842D is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.148 H 143.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2E842D
RGBrgb(46, 132, 45)
HSLhsl(119, 49%, 35%)
HSVhsv(119, 66%, 52%)
CMYKcmyk(65.2%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.60, -43.59, 38.37)
CIE-LCHlch(48.60, 58.07, 138.64°)
OKLaboklab(54.24% -0.1184 0.0892)
OKLCHoklch(54.24% 0.148 143)
XYZxyz(9.8511, 17.2719, 5.2968)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E842D #832D84
analogous
#5A842D #2E842D #2D8457
triadic
#2E842D #2D2E84 #842D2E
tetradic
#2E842D #2D5A84 #832D84 #84572D
square
#2E842D #2D5A84 #832D84 #84572D
split-complementary
#2E842D #572D84 #842D5A
monochromatic
#0E290E #1E561D #2E842D #3EB23D #63C962

Accessibility & contrast

On white

4.71
#2E842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2E842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E842D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E842D#FFFFFF#000000##FFFFFF
##2E842D1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#1C8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e842d;
/* rgb */ color: rgb(46, 132, 45);
/* oklch */ color: oklch(54.2% 0.148 143.0);
Tailwind
colors: {
  custom: {
    50: '#72a96a',
    500: '#2e842d',
    950: '#000000',
  },
}
SCSS
$custom: #2e842d;
$custom-light: #72a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e842d",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 119.31,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54242,
    "c": 0.14825,
    "h": 143
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#2E842D
secondary
#AF5DB0
accent
#4FD9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E842D

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

Preview Lab → · Contrast checker → · Palette generator →

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