#2E7F27#2E7F27

#2E7F27 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.146 H 142.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7F27
RGBrgb(46, 127, 39)
HSLhsl(115, 53%, 33%)
HSVhsv(115, 69%, 50%)
CMYKcmyk(63.8%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.85, -42.32, 39.16)
CIE-LCHlch(46.85, 57.66, 137.22°)
OKLaboklab(52.78% -0.1153 0.0901)
OKLCHoklch(52.78% 0.146 142)
XYZxyz(9.0818, 15.9052, 4.5105)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F27 #78277F
analogous
#5A7F27 #2E7F27 #277F4C
triadic
#2E7F27 #272E7F #7F272E
tetradic
#2E7F27 #275A7F #78277F #7F4C27
square
#2E7F27 #275A7F #78277F #7F4C27
split-complementary
#2E7F27 #4C277F #7F275A
monochromatic
#0C210A #1D5019 #2E7F27 #3FAE35 #5FCB55

Accessibility & contrast

On white

5.02
#2E7F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E7F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F27
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F27#FFFFFF#000000##FFFFFF
##2E7F271.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#207B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f27;
/* rgb */ color: rgb(46, 127, 39);
/* oklch */ color: oklch(52.8% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#71a566',
    500: '#2e7f27',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f27;
$custom-light: #71a566;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f27",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 115.227,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.14638,
    "h": 142
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#2E7F27
secondary
#A852B0
accent
#4BDCD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F27

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

Preview Lab → · Contrast checker → · Palette generator →

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