#2E8338#2E8338

#2E8338 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.138 H 145.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2E8338
RGBrgb(46, 131, 56)
HSLhsl(127, 48%, 35%)
HSVhsv(127, 65%, 51%)
CMYKcmyk(64.9%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.38, -41.82, 32.78)
CIE-LCHlch(48.38, 53.13, 141.91°)
OKLaboklab(54.1% -0.1131 0.0781)
OKLCHoklch(54.1% 0.138 145.4)
XYZxyz(9.9562, 17.0980, 6.5162)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8338 #832E79
analogous
#4E832E #2E8338 #2E8363
triadic
#2E8338 #382E83 #83382E
tetradic
#2E8338 #2E4E83 #832E79 #83632E
square
#2E8338 #2E4E83 #832E79 #83632E
split-complementary
#2E8338 #632E83 #832E4E
monochromatic
#0E2811 #1E5625 #2E8338 #3EB04B #63C86F

Accessibility & contrast

On white

4.75
#2E8338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2E8338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8338
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8338#FFFFFF#000000##FFFFFF
##2E83381.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#7B703E
Tritanopia (blue-blind)
#198072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8338;
/* rgb */ color: rgb(46, 131, 56);
/* oklch */ color: oklch(54.1% 0.138 145.4);
Tailwind
colors: {
  custom: {
    50: '#71a871',
    500: '#2e8338',
    950: '#000000',
  },
}
SCSS
$custom: #2e8338;
$custom-light: #71a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8338",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 127.059,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.1375,
    "h": 145.4
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#2E8338
secondary
#AF5EA5
accent
#50C8D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2E8338

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

Preview Lab → · Contrast checker → · Palette generator →

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