#2E712F#2E712F

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

Color values

HEX#2E712F
RGBrgb(46, 113, 47)
HSLhsl(121, 42%, 31%)
HSVhsv(121, 59%, 44%)
CMYKcmyk(59.3%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.15, -35.75, 29.99)
CIE-LCHlch(42.15, 46.66, 140.01°)
OKLaboklab(48.93% -0.0971 0.0713)
OKLCHoklch(48.93% 0.12 143.7)
XYZxyz(7.5445, 12.5957, 4.7224)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E712F #712E70
analogous
#4E712E #2E712F #2E7150
triadic
#2E712F #2F2E71 #712F2E
tetradic
#2E712F #2E4E71 #712E70 #71502E
square
#2E712F #2E4E71 #712E70 #71502E
split-complementary
#2E712F #502E71 #712E4E
monochromatic
#0B1A0B #1C461D #2E712F #409C41 #5DBD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E712F#FFFFFF#000000##FFFFFF
##2E712F1.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)
#736729
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e712f;
/* rgb */ color: rgb(46, 113, 47);
/* oklch */ color: oklch(48.9% 0.120 143.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a69',
    500: '#2e712f',
    950: '#000000',
  },
}
SCSS
$custom: #2e712f;
$custom-light: #6e9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e712f",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 120.896,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.12049,
    "h": 143.7
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#2E712F
secondary
#A258A1
accent
#56D0D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E712F

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

Preview Lab → · Contrast checker → · Palette generator →

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