#2E702F#2E702F

#2E702F is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.119 H 143.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2E702F
RGBrgb(46, 112, 47)
HSLhsl(121, 42%, 31%)
HSVhsv(121, 59%, 44%)
CMYKcmyk(58.9%, 0%, 58%, 56.1%)
CIE-LABlab(41.80, -35.33, 29.58)
CIE-LCHlch(41.80, 46.08, 140.07°)
OKLaboklab(48.64% -0.096 0.0704)
OKLCHoklch(48.64% 0.119 143.7)
XYZxyz(7.4336, 12.3738, 4.6854)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E702F #702E6F
analogous
#4E702E #2E702F #2E7050
triadic
#2E702F #2F2E70 #702F2E
tetradic
#2E702F #2E4E70 #702E6F #70502E
square
#2E702F #2E4E70 #702E6F #70502E
split-complementary
#2E702F #502E70 #702E4E
monochromatic
#0A190B #1C451D #2E702F #409B41 #5CBC5E

Accessibility & contrast

On white

6.04
#2E702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E702F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E702F#FFFFFF#000000##FFFFFF
##2E702F1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6A6034
Tritanopia (blue-blind)
#236D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e702f;
/* rgb */ color: rgb(46, 112, 47);
/* oklch */ color: oklch(48.6% 0.119 143.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a69',
    500: '#2e702f',
    950: '#000000',
  },
}
SCSS
$custom: #2e702f;
$custom-light: #6e9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e702f",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 120.909,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.11904,
    "h": 143.7
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E702F

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

Preview Lab → · Contrast checker → · Palette generator →

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