#2E802B#2E802B

#2E802B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.145 H 142.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2E802B
RGBrgb(46, 128, 43)
HSLhsl(118, 50%, 34%)
HSVhsv(118, 66%, 50%)
CMYKcmyk(64.1%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.23, -42.28, 37.77)
CIE-LCHlch(47.23, 56.69, 138.23°)
OKLaboklab(53.1% -0.115 0.0877)
OKLCHoklch(53.1% 0.145 142.7)
XYZxyz(9.2814, 16.1927, 4.9214)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E802B #7D2B80
analogous
#58802B #2E802B #2B8052
triadic
#2E802B #2B2E80 #802B2E
tetradic
#2E802B #2B5880 #7D2B80 #80522B
square
#2E802B #2B5880 #7D2B80 #80522B
split-complementary
#2E802B #522B80 #802B58
monochromatic
#0D240C #1E521C #2E802B #3EAE3A #61C95D

Accessibility & contrast

On white

4.95
#2E802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2E802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E802B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E802B#FFFFFF#000000##FFFFFF
##2E802B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#1F7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e802b;
/* rgb */ color: rgb(46, 128, 43);
/* oklch */ color: oklch(53.1% 0.145 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a668',
    500: '#2e802b',
    950: '#000000',
  },
}
SCSS
$custom: #2e802b;
$custom-light: #71a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2e802b",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 117.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.531,
    "c": 0.1446,
    "h": 142.7
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#2E802B
secondary
#AB58AE
accent
#4FD9D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E802B

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

Preview Lab → · Contrast checker → · Palette generator →

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