#2E7927#2E7927

#2E7927 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.139 H 141.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2E7927
RGBrgb(46, 121, 39)
HSLhsl(115, 51%, 31%)
HSVhsv(115, 68%, 47%)
CMYKcmyk(62%, 0%, 67.8%, 52.5%)
CIE-LABlab(44.80, -39.99, 36.94)
CIE-LCHlch(44.80, 54.44, 137.27°)
OKLaboklab(51.09% -0.109 0.0854)
OKLCHoklch(51.09% 0.139 141.9)
XYZxyz(8.3299, 14.4013, 4.2598)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7927 #722779
analogous
#577927 #2E7927 #277949
triadic
#2E7927 #272E79 #79272E
tetradic
#2E7927 #275779 #722779 #794927
square
#2E7927 #275779 #722779 #794927
split-complementary
#2E7927 #492779 #792757
monochromatic
#0B1C09 #1C4B18 #2E7927 #40A736 #5DC853

Accessibility & contrast

On white

5.41
#2E7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2E7927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7927
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7927#FFFFFF#000000##FFFFFF
##2E79271.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#227568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7927;
/* rgb */ color: rgb(46, 121, 39);
/* oklch */ color: oklch(51.1% 0.139 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a065',
    500: '#2e7927',
    950: '#000000',
  },
}
SCSS
$custom: #2e7927;
$custom-light: #70a065;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7927",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 114.878,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.13851,
    "h": 141.9
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#2E7927
secondary
#A351AB
accent
#4DDBCF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E7927

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

Preview Lab → · Contrast checker → · Palette generator →

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