#2E9128#2E9128

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

Color values

HEX#2E9128
RGBrgb(46, 145, 40)
HSLhsl(117, 57%, 36%)
HSVhsv(117, 72%, 57%)
CMYKcmyk(68.3%, 0%, 72.4%, 43.1%)
CIE-LABlab(52.93, -48.86, 45.17)
CIE-LCHlch(52.93, 66.54, 137.25°)
OKLaboklab(57.81% -0.133 0.1029)
OKLCHoklch(57.81% 0.168 142.3)
XYZxyz(11.6345, 20.9836, 5.4442)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9128 #8B2891
analogous
#639128 #2E9128 #289157
triadic
#2E9128 #282E91 #91282E
tetradic
#2E9128 #286391 #8B2891 #915728
square
#2E9128 #286391 #8B2891 #915728
split-complementary
#2E9128 #572891 #912863
monochromatic
#10310E #1F611B #2E9128 #3DC135 #67D360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E9128#FFFFFF#000000##000000
##2E91281.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)
#948317
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#178D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e9128;
/* rgb */ color: rgb(46, 145, 40);
/* oklch */ color: oklch(57.8% 0.168 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b268',
    500: '#2e9128',
    950: '#000000',
  },
}
SCSS
$custom: #2e9128;
$custom-light: #75b268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9128",
  "rgb": {
    "r": 46,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 116.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.16813,
    "h": 142.3
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#2E9128
secondary
#B35CB9
accent
#48E0D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E9128

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

Preview Lab → · Contrast checker → · Palette generator →

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