#2E8B28#2E8B28

#2E8B28 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.161 H 142.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E8B28
RGBrgb(46, 139, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(66.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.92, -46.70, 43.06)
CIE-LCHlch(50.92, 63.53, 137.32°)
OKLaboklab(56.15% -0.1271 0.0985)
OKLCHoklch(56.15% 0.161 142.2)
XYZxyz(10.7417, 19.1982, 5.1466)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8B28 #85288B
analogous
#5F8B28 #2E8B28 #288B54
triadic
#2E8B28 #282E8B #8B282E
tetradic
#2E8B28 #285F8B #85288B #8B5428
square
#2E8B28 #285F8B #85288B #8B5428
split-complementary
#2E8B28 #54288B #8B285F
monochromatic
#0F2C0D #1E5B1A #2E8B28 #3EBB36 #64D05D

Accessibility & contrast

On white

4.34
#2E8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2E8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8B28
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8B28#FFFFFF#000000##000000
##2E8B281.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#1B8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e8b28;
/* rgb */ color: rgb(46, 139, 40);
/* oklch */ color: oklch(56.1% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ae68',
    500: '#2e8b28',
    950: '#000000',
  },
}
SCSS
$custom: #2e8b28;
$custom-light: #74ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8b28",
  "rgb": {
    "r": 46,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 116.364,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.16081,
    "h": 142.2
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#2E8B28
secondary
#B059B6
accent
#49DFD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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