#2E712A#2E712A

#2E712A is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.125 H 142.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E712A
RGBrgb(46, 113, 42)
HSLhsl(117, 46%, 30%)
HSVhsv(117, 63%, 44%)
CMYKcmyk(59.3%, 0%, 62.8%, 55.7%)
CIE-LABlab(42.09, -36.41, 32.46)
CIE-LCHlch(42.09, 48.78, 138.28°)
OKLaboklab(48.86% -0.0991 0.0762)
OKLCHoklch(48.86% 0.125 142.4)
XYZxyz(7.4494, 12.5576, 4.2213)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E712A #6D2A71
analogous
#51712A #2E712A #2A7149
triadic
#2E712A #2A2E71 #712A2E
tetradic
#2E712A #2A5171 #6D2A71 #71492A
square
#2E712A #2A5171 #6D2A71 #71492A
split-complementary
#2E712A #492A71 #712A51
monochromatic
#0A1809 #1C4419 #2E712A #409E3B #5BC055

Accessibility & contrast

On white

5.98
#2E712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E712A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E712A#FFFFFF#000000##FFFFFF
##2E712A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e712a;
/* rgb */ color: rgb(46, 113, 42);
/* oklch */ color: oklch(48.9% 0.125 142.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2e712a',
    950: '#000000',
  },
}
SCSS
$custom: #2e712a;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e712a",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 116.62,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.12507,
    "h": 142.4
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#2E712A
secondary
#9F54A3
accent
#52D5CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E712A

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

Preview Lab → · Contrast checker → · Palette generator →

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