#2E702A#2E702A

#2E702A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.6% C 0.124 H 142.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2E702A
RGBrgb(46, 112, 42)
HSLhsl(117, 45%, 30%)
HSVhsv(117, 63%, 44%)
CMYKcmyk(58.9%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.74, -35.99, 32.07)
CIE-LCHlch(41.74, 48.21, 138.30°)
OKLaboklab(48.57% -0.098 0.0754)
OKLCHoklch(48.57% 0.124 142.4)
XYZxyz(7.3384, 12.3357, 4.1844)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E702A #6C2A70
analogous
#51702A #2E702A #2A7049
triadic
#2E702A #2A2E70 #702A2E
tetradic
#2E702A #2A5170 #6C2A70 #70492A
square
#2E702A #2A5170 #6C2A70 #70492A
split-complementary
#2E702A #492A70 #702A51
monochromatic
#091709 #1C4319 #2E702A #409D3B #5BBF55

Accessibility & contrast

On white

6.06
#2E702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E702A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E702A#FFFFFF#000000##FFFFFF
##2E702A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#246D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e702a;
/* rgb */ color: rgb(46, 112, 42);
/* oklch */ color: oklch(48.6% 0.124 142.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2e702a',
    950: '#000000',
  },
}
SCSS
$custom: #2e702a;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e702a",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 116.571,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.12365,
    "h": 142.4
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#2E702A
secondary
#9E54A2
accent
#53D5CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E702A

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

Preview Lab → · Contrast checker → · Palette generator →

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