#2E8B2A#2E8B2A

#2E8B2A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.159 H 142.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E8B2A
RGBrgb(46, 139, 42)
HSLhsl(118, 54%, 35%)
HSVhsv(118, 70%, 55%)
CMYKcmyk(66.9%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.93, -46.51, 42.24)
CIE-LCHlch(50.93, 62.83, 137.75°)
OKLaboklab(56.16% -0.1265 0.097)
OKLCHoklch(56.16% 0.159 142.5)
XYZxyz(10.7766, 19.2122, 5.3304)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8B2A #872A8B
analogous
#5E8B2A #2E8B2A #2A8B56
triadic
#2E8B2A #2A2E8B #8B2A2E
tetradic
#2E8B2A #2A5E8B #872A8B #8B562A
square
#2E8B2A #2A5E8B #872A8B #8B562A
split-complementary
#2E8B2A #562A8B #8B2A5E
monochromatic
#0F2D0E #1E5C1C #2E8B2A #3EBA38 #65CF60

Accessibility & contrast

On white

4.34
#2E8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2E8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8B2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8B2A#FFFFFF#000000##000000
##2E8B2A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e8b2a;
/* rgb */ color: rgb(46, 139, 42);
/* oklch */ color: oklch(56.2% 0.159 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#2e8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e8b2a;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8b2a",
  "rgb": {
    "r": 46,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 117.526,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.15942,
    "h": 142.5
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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