#2E8938#2E8938

#2E8938 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.146 H 145.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2E8938
RGBrgb(46, 137, 56)
HSLhsl(127, 50%, 36%)
HSVhsv(127, 66%, 54%)
CMYKcmyk(66.4%, 0%, 59.1%, 46.3%)
CIE-LABlab(50.40, -44.14, 35.16)
CIE-LCHlch(50.40, 56.44, 141.46°)
OKLaboklab(55.77% -0.1194 0.0833)
OKLCHoklch(55.77% 0.146 145.1)
XYZxyz(10.7855, 18.7566, 6.7926)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8938 #892E7F
analogous
#51892E #2E8938 #2E8965
triadic
#2E8938 #382E89 #89382E
tetradic
#2E8938 #2E5189 #892E7F #89652E
square
#2E8938 #2E5189 #892E7F #89652E
split-complementary
#2E8938 #652E89 #892E51
monochromatic
#0F2D13 #1F5B25 #2E8938 #3DB74B #66CC71

Accessibility & contrast

On white

4.42
#2E8938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2E8938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8938
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8938#FFFFFF#000000##000000
##2E89381.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D30
Deuteranopia (green-blind)
#80753E
Tritanopia (blue-blind)
#168677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8938;
/* rgb */ color: rgb(46, 137, 56);
/* oklch */ color: oklch(55.8% 0.146 145.1);
Tailwind
colors: {
  custom: {
    50: '#72ac71',
    500: '#2e8938',
    950: '#000000',
  },
}
SCSS
$custom: #2e8938;
$custom-light: #72ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8938",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 126.593,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.14563,
    "h": 145.1
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#2E8938
secondary
#B260A9
accent
#4FCAD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E8938

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

Preview Lab → · Contrast checker → · Palette generator →

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