#2E9127#2E9127

#2E9127 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.169 H 142.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2E9127
RGBrgb(46, 145, 39)
HSLhsl(116, 58%, 36%)
HSVhsv(116, 73%, 57%)
CMYKcmyk(68.3%, 0%, 73.1%, 43.1%)
CIE-LABlab(52.92, -48.95, 45.55)
CIE-LCHlch(52.92, 66.87, 137.06°)
OKLaboklab(57.8% -0.1333 0.1036)
OKLCHoklch(57.8% 0.169 142.2)
XYZxyz(11.6177, 20.9769, 5.3558)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9127 #8A2791
analogous
#639127 #2E9127 #279155
triadic
#2E9127 #272E91 #91272E
tetradic
#2E9127 #276391 #8A2791 #915527
square
#2E9127 #276391 #8A2791 #915527
split-complementary
#2E9127 #552791 #912763
monochromatic
#0F310D #1F611A #2E9127 #3DC134 #66D45F

Accessibility & contrast

On white

4.04
#2E9127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2E9127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9127
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9127#FFFFFF#000000##000000
##2E91271.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#188D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e9127;
/* rgb */ color: rgb(46, 145, 39);
/* oklch */ color: oklch(57.8% 0.169 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b268',
    500: '#2e9127',
    950: '#000000',
  },
}
SCSS
$custom: #2e9127;
$custom-light: #75b268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9127",
  "rgb": {
    "r": 46,
    "g": 145,
    "b": 39
  },
  "hsl": {
    "h": 116.038,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.16878,
    "h": 142.2
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#2E9127
secondary
#B35BB9
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E9127

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

Preview Lab → · Contrast checker → · Palette generator →

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