#2E8C2D#2E8C2D

#2E8C2D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.158 H 143.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2E8C2D
RGBrgb(46, 140, 45)
HSLhsl(119, 51%, 36%)
HSVhsv(119, 68%, 55%)
CMYKcmyk(67.1%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.30, -46.57, 41.33)
CIE-LCHlch(51.30, 62.27, 138.41°)
OKLaboklab(56.47% -0.1265 0.0954)
OKLCHoklch(56.47% 0.158 143)
XYZxyz(10.9778, 19.5254, 5.6724)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8C2D #8B2D8C
analogous
#5E8C2D #2E8C2D #2D8C5C
triadic
#2E8C2D #2D2E8C #8C2D2E
tetradic
#2E8C2D #2D5E8C #8B2D8C #8C5C2D
square
#2E8C2D #2D5E8C #8B2D8C #8C5C2D
split-complementary
#2E8C2D #5C2D8C #8C2D5E
monochromatic
#102F0F #1F5E1E #2E8C2D #3DBA3C #67CE66

Accessibility & contrast

On white

4.28
#2E8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2E8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8C2D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8C2D#FFFFFF#000000##000000
##2E8C2D1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#198878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e8c2d;
/* rgb */ color: rgb(46, 140, 45);
/* oklch */ color: oklch(56.5% 0.158 143.0);
Tailwind
colors: {
  custom: {
    50: '#74ae6b',
    500: '#2e8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e8c2d;
$custom-light: #74ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8c2d",
  "rgb": {
    "r": 46,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 119.368,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.15847,
    "h": 143
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#2E8C2D
secondary
#B360B4
accent
#4DDBD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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