#2E7928#2E7928

#2E7928 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.138 H 142.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2E7928
RGBrgb(46, 121, 40)
HSLhsl(116, 50%, 32%)
HSVhsv(116, 67%, 47%)
CMYKcmyk(62%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.81, -39.88, 36.49)
CIE-LCHlch(44.81, 54.05, 137.54°)
OKLaboklab(51.1% -0.1087 0.0846)
OKLCHoklch(51.1% 0.138 142.1)
XYZxyz(8.3467, 14.4080, 4.3482)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7928 #732879
analogous
#577928 #2E7928 #28794B
triadic
#2E7928 #282E79 #79282E
tetradic
#2E7928 #285779 #732879 #794B28
square
#2E7928 #285779 #732879 #794B28
split-complementary
#2E7928 #4B2879 #792857
monochromatic
#0B1D0A #1D4B19 #2E7928 #3FA737 #5DC755

Accessibility & contrast

On white

5.41
#2E7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2E7928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7928
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7928#FFFFFF#000000##FFFFFF
##2E79281.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#72682F
Tritanopia (blue-blind)
#227568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7928;
/* rgb */ color: rgb(46, 121, 40);
/* oklch */ color: oklch(51.1% 0.138 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a066',
    500: '#2e7928',
    950: '#000000',
  },
}
SCSS
$custom: #2e7928;
$custom-light: #70a066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7928",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 115.556,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.13772,
    "h": 142.1
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#2E7928
secondary
#A452AB
accent
#4EDACF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E7928

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

Preview Lab → · Contrast checker → · Palette generator →

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