#2E8042#2E8042

#2E8042 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.124 H 148.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2E8042
RGBrgb(46, 128, 66)
HSLhsl(135, 47%, 34%)
HSVhsv(135, 64%, 50%)
CMYKcmyk(64.1%, 0%, 48.4%, 49.8%)
CIE-LABlab(47.51, -39.06, 26.43)
CIE-LCHlch(47.51, 47.16, 145.92°)
OKLaboklab(53.43% -0.1055 0.0646)
OKLCHoklch(53.43% 0.124 148.5)
XYZxyz(9.8286, 16.4116, 7.8030)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8042 #802E6C
analogous
#43802E #2E8042 #2E806B
triadic
#2E8042 #422E80 #80422E
tetradic
#2E8042 #2E4380 #802E6C #806B2E
square
#2E8042 #2E4380 #802E6C #806B2E
split-complementary
#2E8042 #6B2E80 #802E43
monochromatic
#0E2614 #1E532B #2E8042 #3EAD59 #62C77A

Accessibility & contrast

On white

4.90
#2E8042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2E8042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8042
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8042#FFFFFF#000000##FFFFFF
##2E80421.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#167D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e8042;
/* rgb */ color: rgb(46, 128, 66);
/* oklch */ color: oklch(53.4% 0.124 148.5);
Tailwind
colors: {
  custom: {
    50: '#70a677',
    500: '#2e8042',
    950: '#000000',
  },
}
SCSS
$custom: #2e8042;
$custom-light: #70a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8042",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 134.634,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.12368,
    "h": 148.5
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#2E8042
secondary
#AD5D9A
accent
#51B6D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2E8042

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

Preview Lab → · Contrast checker → · Palette generator →

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