#2E701C#2E701C

#2E701C is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.135 H 139.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2E701C
RGBrgb(46, 112, 28)
HSLhsl(107, 60%, 27%)
HSVhsv(107, 75%, 44%)
CMYKcmyk(58.9%, 0%, 75%, 56.1%)
CIE-LABlab(41.61, -37.46, 38.35)
CIE-LCHlch(41.61, 53.61, 134.33°)
OKLaboklab(48.43% -0.1029 0.087)
OKLCHoklch(48.43% 0.135 139.8)
XYZxyz(7.1302, 12.2524, 3.0876)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E701C #5E1C70
analogous
#58701C #2E701C #1C7034
triadic
#2E701C #1C2E70 #701C2E
tetradic
#2E701C #1C5870 #5E1C70 #70341C
square
#2E701C #1C5870 #5E1C70 #70341C
split-complementary
#2E701C #341C70 #701C58
monochromatic
#0A1806 #1A3F10 #2E701C #42A128 #59CD39

Accessibility & contrast

On white

6.09
#2E701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E701C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E701C#FFFFFF#000000##FFFFFF
##2E701C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e701c;
/* rgb */ color: rgb(46, 112, 28);
/* oklch */ color: oklch(48.4% 0.135 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9a5e',
    500: '#2e701c',
    950: '#000000',
  },
}
SCSS
$custom: #2e701c;
$custom-light: #6f9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e701c",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 107.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.13471,
    "h": 139.8
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#2E701C
secondary
#9043A5
accent
#45E3C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E701C

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

Preview Lab → · Contrast checker → · Palette generator →

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