#2E9828#2E9828

#2E9828 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.176 H 142.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2E9828
RGBrgb(46, 152, 40)
HSLhsl(117, 58%, 38%)
HSVhsv(117, 74%, 60%)
CMYKcmyk(69.7%, 0%, 73.7%, 40.4%)
CIE-LABlab(55.27, -51.32, 47.57)
CIE-LCHlch(55.27, 69.97, 137.17°)
OKLaboklab(59.75% -0.1396 0.1079)
OKLCHoklch(59.75% 0.176 142.3)
XYZxyz(12.7372, 23.1892, 5.8118)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9828 #922898
analogous
#669828 #2E9828 #28985A
triadic
#2E9828 #282E98 #98282E
tetradic
#2E9828 #286698 #922898 #985A28
square
#2E9828 #286698 #922898 #985A28
split-complementary
#2E9828 #5A2898 #982866
monochromatic
#11370F #1F681B #2E9828 #3DC835 #6AD664

Accessibility & contrast

On white

3.72
#2E9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2E9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9828
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9828#FFFFFF#000000##000000
##2E98281.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8914
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#139382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2e9828;
/* rgb */ color: rgb(46, 152, 40);
/* oklch */ color: oklch(59.7% 0.176 142.3);
Tailwind
colors: {
  custom: {
    50: '#77b769',
    500: '#2e9828',
    950: '#000000',
  },
}
SCSS
$custom: #2e9828;
$custom-light: #77b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9828",
  "rgb": {
    "r": 46,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 116.786,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.17646,
    "h": 142.3
  },
  "luminance": 0.23191
}

Semantic roles & 50–950 ramp

primary
#2E9828
secondary
#B760BC
accent
#46E2D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2E9828

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

Preview Lab → · Contrast checker → · Palette generator →

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