#2E7D27#2E7D27

#2E7D27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.144 H 142.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E7D27
RGBrgb(46, 125, 39)
HSLhsl(115, 52%, 32%)
HSVhsv(115, 69%, 49%)
CMYKcmyk(63.2%, 0%, 68.8%, 51%)
CIE-LABlab(46.17, -41.55, 38.42)
CIE-LCHlch(46.17, 56.59, 137.24°)
OKLaboklab(52.21% -0.1132 0.0886)
OKLCHoklch(52.21% 0.144 142)
XYZxyz(8.8261, 15.3937, 4.4252)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D27 #76277D
analogous
#597D27 #2E7D27 #277D4B
triadic
#2E7D27 #272E7D #7D272E
tetradic
#2E7D27 #27597D #76277D #7D4B27
square
#2E7D27 #27597D #76277D #7D4B27
split-complementary
#2E7D27 #4B277D #7D2759
monochromatic
#0C200A #1D4E18 #2E7D27 #3FAC36 #5ECA55

Accessibility & contrast

On white

5.15
#2E7D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E7D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D27
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D27#FFFFFF#000000##FFFFFF
##2E7D271.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d27;
/* rgb */ color: rgb(46, 125, 39);
/* oklch */ color: oklch(52.2% 0.144 142.0);
Tailwind
colors: {
  custom: {
    50: '#71a366',
    500: '#2e7d27',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d27;
$custom-light: #71a366;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d27",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 115.116,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.14378,
    "h": 142
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#2E7D27
secondary
#A751AF
accent
#4CDCD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D27

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

Preview Lab → · Contrast checker → · Palette generator →

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