#2E8F17#2E8F17

#2E8F17 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.175 H 140.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E8F17
RGBrgb(46, 143, 23)
HSLhsl(109, 72%, 33%)
HSVhsv(109, 84%, 56%)
CMYKcmyk(67.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.16, -49.37, 50.26)
CIE-LCHlch(52.16, 70.45, 134.49°)
OKLaboklab(57.14% -0.1352 0.1111)
OKLCHoklch(57.14% 0.175 140.6)
XYZxyz(11.1033, 20.2865, 4.1410)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F17 #78178F
analogous
#6A8F17 #2E8F17 #178F3C
triadic
#2E8F17 #172E8F #8F172E
tetradic
#2E8F17 #176A8F #78178F #8F3C17
square
#2E8F17 #176A8F #78178F #8F3C17
split-complementary
#2E8F17 #3C178F #8F176A
monochromatic
#0C2606 #1D5A0F #2E8F17 #3FC41F #5FE040

Accessibility & contrast

On white

4.15
#2E8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2E8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F17
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F17#FFFFFF#000000##000000
##2E8F171.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887926
Tritanopia (blue-blind)
#1C8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8f17;
/* rgb */ color: rgb(46, 143, 23);
/* oklch */ color: oklch(57.1% 0.175 140.6);
Tailwind
colors: {
  custom: {
    50: '#75b160',
    500: '#2e8f17',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f17;
$custom-light: #75b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f17",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 108.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.17502,
    "h": 140.6
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#2E8F17
secondary
#A841C1
accent
#39EFCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2E8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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