#2E8F27#2E8F27

#2E8F27 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.166 H 142.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2E8F27
RGBrgb(46, 143, 39)
HSLhsl(116, 57%, 36%)
HSVhsv(116, 73%, 56%)
CMYKcmyk(67.8%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.25, -48.23, 44.86)
CIE-LCHlch(52.25, 65.87, 137.07°)
OKLaboklab(57.25% -0.1313 0.1021)
OKLCHoklch(57.25% 0.166 142.1)
XYZxyz(11.3148, 20.3711, 5.2548)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F27 #88278F
analogous
#628F27 #2E8F27 #278F54
triadic
#2E8F27 #272E8F #8F272E
tetradic
#2E8F27 #27628F #88278F #8F5427
square
#2E8F27 #27628F #88278F #8F5427
split-complementary
#2E8F27 #54278F #8F2762
monochromatic
#0F2F0D #1F5F1A #2E8F27 #3DBF34 #65D35D

Accessibility & contrast

On white

4.14
#2E8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2E8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F27#FFFFFF#000000##000000
##2E8F271.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#198B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f27;
/* rgb */ color: rgb(46, 143, 39);
/* oklch */ color: oklch(57.2% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b168',
    500: '#2e8f27',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f27;
$custom-light: #75b168;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f27",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 115.962,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.16636,
    "h": 142.1
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#2E8F27
secondary
#B25AB8
accent
#47E0D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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