#2E712C#2E712C

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

Color values

HEX#2E712C
RGBrgb(46, 113, 44)
HSLhsl(118, 44%, 31%)
HSVhsv(118, 61%, 44%)
CMYKcmyk(59.3%, 0%, 61.1%, 55.7%)
CIE-LABlab(42.11, -36.15, 31.48)
CIE-LCHlch(42.11, 47.94, 138.95°)
OKLaboklab(48.88% -0.0984 0.0743)
OKLCHoklch(48.88% 0.123 142.9)
XYZxyz(7.4861, 12.5723, 4.4146)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E712C #6F2C71
analogous
#50712C #2E712C #2C714C
triadic
#2E712C #2C2E71 #712C2E
tetradic
#2E712C #2C5071 #6F2C71 #714C2C
square
#2E712C #2C5071 #6F2C71 #714C2C
split-complementary
#2E712C #4C2C71 #712C50
monochromatic
#0A190A #1C451B #2E712C #409D3D #5CBE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E712C#FFFFFF#000000##FFFFFF
##2E712C1.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)
#736725
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e712c;
/* rgb */ color: rgb(46, 113, 44);
/* oklch */ color: oklch(48.9% 0.123 142.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2e712c',
    950: '#000000',
  },
}
SCSS
$custom: #2e712c;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e712c",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 118.261,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.12327,
    "h": 142.9
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#2E712C
secondary
#A056A3
accent
#54D4D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E712C

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

Preview Lab → · Contrast checker → · Palette generator →

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