#2E7E27#2E7E27

#2E7E27 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.145 H 142.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E7E27
RGBrgb(46, 126, 39)
HSLhsl(115, 53%, 32%)
HSVhsv(115, 69%, 49%)
CMYKcmyk(63.5%, 0%, 69%, 50.6%)
CIE-LABlab(46.51, -41.94, 38.79)
CIE-LCHlch(46.51, 57.13, 137.23°)
OKLaboklab(52.5% -0.1143 0.0894)
OKLCHoklch(52.5% 0.145 142)
XYZxyz(8.9533, 15.6482, 4.4676)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E27 #77277E
analogous
#5A7E27 #2E7E27 #277E4B
triadic
#2E7E27 #272E7E #7E272E
tetradic
#2E7E27 #275A7E #77277E #7E4B27
square
#2E7E27 #275A7E #77277E #7E4B27
split-complementary
#2E7E27 #4B277E #7E275A
monochromatic
#0C210A #1D4F19 #2E7E27 #3FAD35 #5ECA55

Accessibility & contrast

On white

5.08
#2E7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E27#FFFFFF#000000##FFFFFF
##2E7E271.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#207A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e27;
/* rgb */ color: rgb(46, 126, 39);
/* oklch */ color: oklch(52.5% 0.145 142.0);
Tailwind
colors: {
  custom: {
    50: '#71a466',
    500: '#2e7e27',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e27;
$custom-light: #71a466;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e27",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 115.172,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.14509,
    "h": 142
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#2E7E27
secondary
#A852AF
accent
#4CDCD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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