#2E8828#2E8828

#2E8828 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.157 H 142.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2E8828
RGBrgb(46, 136, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 53%)
CMYKcmyk(66.2%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.91, -45.60, 42.00)
CIE-LCHlch(49.91, 61.99, 137.36°)
OKLaboklab(55.31% -0.1242 0.0962)
OKLCHoklch(55.31% 0.157 142.2)
XYZxyz(10.3133, 18.3413, 5.0038)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8828 #822888
analogous
#5E8828 #2E8828 #288852
triadic
#2E8828 #282E88 #88282E
tetradic
#2E8828 #285E88 #822888 #885228
square
#2E8828 #285E88 #822888 #885228
split-complementary
#2E8828 #522888 #88285E
monochromatic
#0E290C #1E591A #2E8828 #3EB736 #63CF5B

Accessibility & contrast

On white

4.50
#2E8828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2E8828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8828
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8828#FFFFFF#000000##000000
##2E88281.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#1C8475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e8828;
/* rgb */ color: rgb(46, 136, 40);
/* oklch */ color: oklch(55.3% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ac67',
    500: '#2e8828',
    950: '#000000',
  },
}
SCSS
$custom: #2e8828;
$custom-light: #73ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8828",
  "rgb": {
    "r": 46,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 116.25,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.15709,
    "h": 142.2
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E8828

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

Preview Lab → · Contrast checker → · Palette generator →

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