#2E8C2A#2E8C2A

#2E8C2A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.161 H 142.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2E8C2A
RGBrgb(46, 140, 42)
HSLhsl(118, 54%, 36%)
HSVhsv(118, 70%, 55%)
CMYKcmyk(67.1%, 0%, 70%, 45.1%)
CIE-LABlab(51.27, -46.87, 42.60)
CIE-LCHlch(51.27, 63.34, 137.74°)
OKLaboklab(56.44% -0.1275 0.0977)
OKLCHoklch(56.44% 0.161 142.5)
XYZxyz(10.9221, 19.5031, 5.3789)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8C2A #882A8C
analogous
#5F8C2A #2E8C2A #2A8C57
triadic
#2E8C2A #2A2E8C #8C2A2E
tetradic
#2E8C2A #2A5F8C #882A8C #8C572A
square
#2E8C2A #2A5F8C #882A8C #8C572A
split-complementary
#2E8C2A #572A8C #8C2A5F
monochromatic
#0F2E0E #1F5D1C #2E8C2A #3DBB38 #65D061

Accessibility & contrast

On white

4.29
#2E8C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2E8C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8C2A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8C2A#FFFFFF#000000##000000
##2E8C2A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#1A8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e8c2a;
/* rgb */ color: rgb(46, 140, 42);
/* oklch */ color: oklch(56.4% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#2e8c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e8c2a;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8c2a",
  "rgb": {
    "r": 46,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 117.551,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.16065,
    "h": 142.5
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#2E8C2A
secondary
#B25CB5
accent
#4BDDD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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