#2E712D#2E712D

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

Color values

HEX#2E712D
RGBrgb(46, 113, 45)
HSLhsl(119, 43%, 31%)
HSVhsv(119, 60%, 44%)
CMYKcmyk(59.3%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.12, -36.02, 30.99)
CIE-LCHlch(42.12, 47.52, 139.30°)
OKLaboklab(48.9% -0.0979 0.0733)
OKLCHoklch(48.9% 0.122 143.2)
XYZxyz(7.5051, 12.5799, 4.5148)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E712D #702D71
analogous
#50712D #2E712D #2D714E
triadic
#2E712D #2D2E71 #712D2E
tetradic
#2E712D #2D5071 #702D71 #714E2D
square
#2E712D #2D5071 #702D71 #714E2D
split-complementary
#2E712D #4E2D71 #712D50
monochromatic
#0A190A #1C451C #2E712D #409D3E #5CBE5B

Accessibility & contrast

On white

5.97
#2E712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2E712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E712D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E712D#FFFFFF#000000##FFFFFF
##2E712D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6B6132
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e712d;
/* rgb */ color: rgb(46, 113, 45);
/* oklch */ color: oklch(48.9% 0.122 143.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a68',
    500: '#2e712d',
    950: '#000000',
  },
}
SCSS
$custom: #2e712d;
$custom-light: #6e9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e712d",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 119.118,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.12236,
    "h": 143.2
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#2E712D
secondary
#A157A3
accent
#55D3D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E712D

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

Preview Lab → · Contrast checker → · Palette generator →

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