#2E712B#2E712B

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

Color values

HEX#2E712B
RGBrgb(46, 113, 43)
HSLhsl(117, 45%, 31%)
HSVhsv(117, 62%, 44%)
CMYKcmyk(59.3%, 0%, 61.9%, 55.7%)
CIE-LABlab(42.10, -36.28, 31.98)
CIE-LCHlch(42.10, 48.36, 138.61°)
OKLaboklab(48.87% -0.0987 0.0753)
OKLCHoklch(48.87% 0.124 142.7)
XYZxyz(7.4675, 12.5649, 4.3168)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E712B #6E2B71
analogous
#51712B #2E712B #2B714B
triadic
#2E712B #2B2E71 #712B2E
tetradic
#2E712B #2B5171 #6E2B71 #714B2B
square
#2E712B #2B5171 #6E2B71 #714B2B
split-complementary
#2E712B #4B2B71 #712B51
monochromatic
#0A1809 #1C451A #2E712B #409D3C #5CBF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E712B#FFFFFF#000000##FFFFFF
##2E712B1.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)
#736724
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e712b;
/* rgb */ color: rgb(46, 113, 43);
/* oklch */ color: oklch(48.9% 0.124 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2e712b',
    950: '#000000',
  },
}
SCSS
$custom: #2e712b;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e712b",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 117.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.12417,
    "h": 142.7
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#2E712B
secondary
#9F55A3
accent
#53D5CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E712B

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

Preview Lab → · Contrast checker → · Palette generator →

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