#2E8028#2E8028

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

Color values

HEX#2E8028
RGBrgb(46, 128, 40)
HSLhsl(116, 52%, 33%)
HSVhsv(116, 69%, 50%)
CMYKcmyk(64.1%, 0%, 68.8%, 49.8%)
CIE-LABlab(47.20, -42.60, 39.09)
CIE-LCHlch(47.20, 57.82, 137.46°)
OKLaboklab(53.07% -0.116 0.0901)
OKLCHoklch(53.07% 0.147 142.2)
XYZxyz(9.2284, 16.1715, 4.6422)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8028 #7A2880
analogous
#5A8028 #2E8028 #28804E
triadic
#2E8028 #282E80 #80282E
tetradic
#2E8028 #285A80 #7A2880 #804E28
square
#2E8028 #285A80 #7A2880 #804E28
split-complementary
#2E8028 #4E2880 #80285A
monochromatic
#0C230B #1D5119 #2E8028 #3FAF37 #60CB58

Accessibility & contrast

On white

4.96
#2E8028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2E8028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8028
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8028#FFFFFF#000000##FFFFFF
##2E80281.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#1F7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8028;
/* rgb */ color: rgb(46, 128, 40);
/* oklch */ color: oklch(53.1% 0.147 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a666',
    500: '#2e8028',
    950: '#000000',
  },
}
SCSS
$custom: #2e8028;
$custom-light: #71a666;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8028",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 115.909,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.14692,
    "h": 142.2
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#2E8028
secondary
#AA54B0
accent
#4CDCD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E8028

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

Preview Lab → · Contrast checker → · Palette generator →

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