#2E8A2A#2E8A2A

#2E8A2A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.158 H 142.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E8A2A
RGBrgb(46, 138, 42)
HSLhsl(118, 53%, 35%)
HSVhsv(118, 70%, 54%)
CMYKcmyk(66.7%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.60, -46.14, 41.88)
CIE-LCHlch(50.60, 62.31, 137.77°)
OKLaboklab(55.89% -0.1255 0.0962)
OKLCHoklch(55.89% 0.158 142.5)
XYZxyz(10.6325, 18.9239, 5.2824)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A2A #862A8A
analogous
#5E8A2A #2E8A2A #2A8A56
triadic
#2E8A2A #2A2E8A #8A2A2E
tetradic
#2E8A2A #2A5E8A #862A8A #8A562A
square
#2E8A2A #2A5E8A #862A8A #8A562A
split-complementary
#2E8A2A #562A8A #8A2A5E
monochromatic
#0F2C0D #1E5B1C #2E8A2A #3EB938 #64CF60

Accessibility & contrast

On white

4.39
#2E8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2E8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A2A#FFFFFF#000000##000000
##2E8A2A1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#1B8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a2a;
/* rgb */ color: rgb(46, 138, 42);
/* oklch */ color: oklch(55.9% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#73ad69',
    500: '#2e8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a2a;
$custom-light: #73ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a2a",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 117.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.15816,
    "h": 142.5
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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