#2E8D2F#2E8D2F

#2E8D2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.158 H 143.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E8D2F
RGBrgb(46, 141, 47)
HSLhsl(121, 51%, 37%)
HSVhsv(121, 67%, 55%)
CMYKcmyk(67.4%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.65, -46.73, 40.83)
CIE-LCHlch(51.65, 62.05, 138.85°)
OKLaboklab(56.77% -0.1268 0.0946)
OKLCHoklch(56.77% 0.158 143.3)
XYZxyz(11.1640, 19.8347, 5.9289)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D2F #8D2E8C
analogous
#5D8D2E #2E8D2F #2E8D5F
triadic
#2E8D2F #2F2E8D #8D2F2E
tetradic
#2E8D2F #2E5D8D #8D2E8C #8D5F2E
square
#2E8D2F #2E5D8D #8D2E8C #8D5F2E
split-complementary
#2E8D2F #5F2E8D #8D2E5D
monochromatic
#103110 #1F5F20 #2E8D2F #3DBB3E #68CE69

Accessibility & contrast

On white

4.23
#2E8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2E8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D2F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D2F#FFFFFF#000000##000000
##2E8D2F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#17897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d2f;
/* rgb */ color: rgb(46, 141, 47);
/* oklch */ color: oklch(56.8% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#74af6c',
    500: '#2e8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d2f;
$custom-light: #74af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d2f",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 120.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.15823,
    "h": 143.3
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#2E8D2F
secondary
#B562B4
accent
#4ED9DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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