#2E8A2B#2E8A2B

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

Color values

HEX#2E8A2B
RGBrgb(46, 138, 43)
HSLhsl(118, 52%, 35%)
HSVhsv(118, 69%, 54%)
CMYKcmyk(66.7%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.61, -46.04, 41.46)
CIE-LCHlch(50.61, 61.96, 138.00°)
OKLaboklab(55.9% -0.1252 0.0955)
OKLCHoklch(55.9% 0.157 142.7)
XYZxyz(10.6506, 18.9311, 5.3778)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A2B #872B8A
analogous
#5D8A2B #2E8A2B #2B8A57
triadic
#2E8A2B #2B2E8A #8A2B2E
tetradic
#2E8A2B #2B5D8A #872B8A #8A572B
square
#2E8A2B #2B5D8A #872B8A #8A572B
split-complementary
#2E8A2B #572B8A #8A2B5D
monochromatic
#0F2D0E #1E5B1C #2E8A2B #3EB93A #65CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8A2B#FFFFFF#000000##000000
##2E8A2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#1A8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a2b;
/* rgb */ color: rgb(46, 138, 43);
/* oklch */ color: oklch(55.9% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ad69',
    500: '#2e8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a2b;
$custom-light: #73ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a2b",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 118.105,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.15744,
    "h": 142.7
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#2E8A2B
secondary
#B15DB4
accent
#4CDCD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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