#2E8A28#2E8A28

#2E8A28 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.160 H 142.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E8A28
RGBrgb(46, 138, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 54%)
CMYKcmyk(66.7%, 0%, 71%, 45.9%)
CIE-LABlab(50.58, -46.34, 42.71)
CIE-LCHlch(50.58, 63.02, 137.33°)
OKLaboklab(55.87% -0.1262 0.0977)
OKLCHoklch(55.87% 0.16 142.2)
XYZxyz(10.5976, 18.9099, 5.0986)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A28 #84288A
analogous
#5F8A28 #2E8A28 #288A53
triadic
#2E8A28 #282E8A #8A282E
tetradic
#2E8A28 #285F8A #84288A #8A5328
square
#2E8A28 #285F8A #84288A #8A5328
split-complementary
#2E8A28 #53288A #8A285F
monochromatic
#0E2B0C #1E5B1A #2E8A28 #3EB936 #64D05D

Accessibility & contrast

On white

4.39
#2E8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A28
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A28#FFFFFF#000000##000000
##2E8A281.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#1B8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a28;
/* rgb */ color: rgb(46, 138, 40);
/* oklch */ color: oklch(55.9% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ad68',
    500: '#2e8a28',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a28;
$custom-light: #74ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a28",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 116.327,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.15958,
    "h": 142.2
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#2E8A28
secondary
#B059B5
accent
#49DED5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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