#2E8F31#2E8F31

#2E8F31 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.159 H 143.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E8F31
RGBrgb(46, 143, 49)
HSLhsl(122, 51%, 37%)
HSVhsv(122, 68%, 56%)
CMYKcmyk(67.8%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.34, -47.24, 40.69)
CIE-LCHlch(52.34, 62.35, 139.26°)
OKLaboklab(57.35% -0.1281 0.0945)
OKLCHoklch(57.35% 0.159 143.6)
XYZxyz(11.5029, 20.4463, 6.2455)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F31 #8F2E8C
analogous
#5B8F2E #2E8F31 #2E8F62
triadic
#2E8F31 #312E8F #8F312E
tetradic
#2E8F31 #2E5B8F #8F2E8C #8F622E
square
#2E8F31 #2E5B8F #8F2E8C #8F622E
split-complementary
#2E8F31 #622E8F #8F2E5B
monochromatic
#103211 #1F6121 #2E8F31 #3DBD41 #69CF6C

Accessibility & contrast

On white

4.13
#2E8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2E8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F31
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F31#FFFFFF#000000##000000
##2E8F311.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#158B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f31;
/* rgb */ color: rgb(46, 143, 49);
/* oklch */ color: oklch(57.3% 0.159 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b16d',
    500: '#2e8f31',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f31;
$custom-light: #74b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f31",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 121.856,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.15923,
    "h": 143.6
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#2E8F31
secondary
#B663B3
accent
#4DD6DB
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2E8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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