#2E802C#2E802C

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

Color values

HEX#2E802C
RGBrgb(46, 128, 44)
HSLhsl(119, 49%, 34%)
HSVhsv(119, 66%, 50%)
CMYKcmyk(64.1%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.24, -42.17, 37.32)
CIE-LCHlch(47.24, 56.31, 138.49°)
OKLaboklab(53.11% -0.1146 0.0868)
OKLCHoklch(53.11% 0.144 142.9)
XYZxyz(9.3000, 16.2001, 5.0192)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E802C #7E2C80
analogous
#58802C #2E802C #2C8054
triadic
#2E802C #2C2E80 #802C2E
tetradic
#2E802C #2C5880 #7E2C80 #80542C
square
#2E802C #2C5880 #7E2C80 #80542C
split-complementary
#2E802C #542C80 #802C58
monochromatic
#0D250D #1E521C #2E802C #3EAE3C #61C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E802C#FFFFFF#000000##FFFFFF
##2E802C1.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)
#837422
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#1E7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e802c;
/* rgb */ color: rgb(46, 128, 44);
/* oklch */ color: oklch(53.1% 0.144 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a669',
    500: '#2e802c',
    950: '#000000',
  },
}
SCSS
$custom: #2e802c;
$custom-light: #71a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2e802c",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 118.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.14381,
    "h": 142.9
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#2E802C
secondary
#AC5AAE
accent
#4FD8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E802C

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

Preview Lab → · Contrast checker → · Palette generator →

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