#2E7B27#2E7B27

#2E7B27 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.141 H 141.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2E7B27
RGBrgb(46, 123, 39)
HSLhsl(115, 52%, 32%)
HSVhsv(115, 68%, 48%)
CMYKcmyk(62.6%, 0%, 68.3%, 51.8%)
CIE-LABlab(45.49, -40.77, 37.68)
CIE-LCHlch(45.49, 55.52, 137.26°)
OKLaboklab(51.65% -0.1111 0.087)
OKLCHoklch(51.65% 0.141 141.9)
XYZxyz(8.5754, 14.8924, 4.3417)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B27 #74277B
analogous
#587B27 #2E7B27 #277B4A
triadic
#2E7B27 #272E7B #7B272E
tetradic
#2E7B27 #27587B #74277B #7B4A27
square
#2E7B27 #27587B #74277B #7B4A27
split-complementary
#2E7B27 #4A277B #7B2758
monochromatic
#0B1E0A #1D4D18 #2E7B27 #3FA936 #5DC954

Accessibility & contrast

On white

5.28
#2E7B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2E7B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B27#FFFFFF#000000##FFFFFF
##2E7B271.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#21776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b27;
/* rgb */ color: rgb(46, 123, 39);
/* oklch */ color: oklch(51.6% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a265',
    500: '#2e7b27',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b27;
$custom-light: #70a265;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b27",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 115,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.14116,
    "h": 141.9
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#2E7B27
secondary
#A551AD
accent
#4CDBCF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7B27

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

Preview Lab → · Contrast checker → · Palette generator →

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