#2E8928#2E8928

#2E8928 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.158 H 142.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2E8928
RGBrgb(46, 137, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 54%)
CMYKcmyk(66.4%, 0%, 70.8%, 46.3%)
CIE-LABlab(50.24, -45.97, 42.35)
CIE-LCHlch(50.24, 62.51, 137.34°)
OKLaboklab(55.59% -0.1252 0.097)
OKLCHoklch(55.59% 0.158 142.2)
XYZxyz(10.4548, 18.6243, 5.0510)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8928 #832889
analogous
#5E8928 #2E8928 #288953
triadic
#2E8928 #282E89 #89282E
tetradic
#2E8928 #285E89 #832889 #895328
square
#2E8928 #285E89 #832889 #895328
split-complementary
#2E8928 #532889 #89285E
monochromatic
#0E2A0C #1E5A1A #2E8928 #3EB836 #63CF5C

Accessibility & contrast

On white

4.44
#2E8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2E8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8928
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8928#FFFFFF#000000##000000
##2E89281.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#1C8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8928;
/* rgb */ color: rgb(46, 137, 40);
/* oklch */ color: oklch(55.6% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ac67',
    500: '#2e8928',
    950: '#000000',
  },
}
SCSS
$custom: #2e8928;
$custom-light: #73ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8928",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 116.289,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.15834,
    "h": 142.2
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#2E8928
secondary
#AF58B5
accent
#4ADED5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8928

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

Preview Lab → · Contrast checker → · Palette generator →

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