#2E9827#2E9827

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

Color values

HEX#2E9827
RGBrgb(46, 152, 39)
HSLhsl(116, 59%, 37%)
HSVhsv(116, 74%, 60%)
CMYKcmyk(69.7%, 0%, 74.3%, 40.4%)
CIE-LABlab(55.26, -51.40, 47.94)
CIE-LCHlch(55.26, 70.29, 136.99°)
OKLaboklab(59.74% -0.1399 0.1085)
OKLCHoklch(59.74% 0.177 142.2)
XYZxyz(12.7204, 23.1824, 5.7233)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9827 #912798
analogous
#679827 #2E9827 #279858
triadic
#2E9827 #272E98 #98272E
tetradic
#2E9827 #276798 #912798 #985827
square
#2E9827 #276798 #912798 #985827
split-complementary
#2E9827 #582798 #982767
monochromatic
#11370E #1F671B #2E9827 #3DC933 #6AD763

Accessibility & contrast

On white

3.73
#2E9827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E9827#FFFFFF#000000##000000
##2E98271.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e9827;
/* rgb */ color: rgb(46, 152, 39);
/* oklch */ color: oklch(59.7% 0.177 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b769',
    500: '#2e9827',
    950: '#000000',
  },
}
SCSS
$custom: #2e9827;
$custom-light: #77b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9827",
  "rgb": {
    "r": 46,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 116.283,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.17708,
    "h": 142.2
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#2E9827
secondary
#B75EBC
accent
#45E2D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2E9827

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

Preview Lab → · Contrast checker → · Palette generator →

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