#2E702C#2E702C

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

Color values

HEX#2E702C
RGBrgb(46, 112, 44)
HSLhsl(118, 44%, 31%)
HSVhsv(118, 61%, 44%)
CMYKcmyk(58.9%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.77, -35.74, 31.08)
CIE-LCHlch(41.77, 47.36, 138.98°)
OKLaboklab(48.6% -0.0972 0.0735)
OKLCHoklch(48.6% 0.122 142.9)
XYZxyz(7.3751, 12.3504, 4.3776)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E702C #6E2C70
analogous
#50702C #2E702C #2C704C
triadic
#2E702C #2C2E70 #702C2E
tetradic
#2E702C #2C5070 #6E2C70 #704C2C
square
#2E702C #2C5070 #6E2C70 #704C2C
split-complementary
#2E702C #4C2C70 #702C50
monochromatic
#0A1809 #1C441B #2E702C #409C3D #5CBE59

Accessibility & contrast

On white

6.05
#2E702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E702C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E702C#FFFFFF#000000##FFFFFF
##2E702C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726625
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#246D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e702c;
/* rgb */ color: rgb(46, 112, 44);
/* oklch */ color: oklch(48.6% 0.122 142.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2e702c',
    950: '#000000',
  },
}
SCSS
$custom: #2e702c;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e702c",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 118.235,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.486,
    "c": 0.12185,
    "h": 142.9
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#2E702C
secondary
#9F56A2
accent
#54D3D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E702C

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

Preview Lab → · Contrast checker → · Palette generator →

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