#2E7A2E#2E7A2E

#2E7A2E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.134 H 143.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2E7A2E
RGBrgb(46, 122, 46)
HSLhsl(120, 45%, 33%)
HSVhsv(120, 62%, 48%)
CMYKcmyk(62.3%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.22, -39.57, 34.07)
CIE-LCHlch(45.22, 52.22, 139.27°)
OKLaboklab(51.45% -0.1075 0.0801)
OKLCHoklch(51.45% 0.134 143.3)
XYZxyz(8.5789, 14.6964, 4.9688)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A2E #7A2E7A
analogous
#547A2E #2E7A2E #2E7A54
triadic
#2E7A2E #2E2E7A #7A2E2E
tetradic
#2E7A2E #2E547A #7A2E7A #7A542E
square
#2E7A2E #2E547A #7A2E7A #7A542E
split-complementary
#2E7A2E #542E7A #7A2E54
monochromatic
#0C210C #1D4E1D #2E7A2E #3FA63F #60C360

Accessibility & contrast

On white

5.33
#2E7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2E7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A2E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A2E#FFFFFF#000000##FFFFFF
##2E7A2E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a2e;
/* rgb */ color: rgb(46, 122, 46);
/* oklch */ color: oklch(51.4% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#70a16a',
    500: '#2e7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a2e;
$custom-light: #70a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a2e",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 120,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.13406,
    "h": 143.3
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#2E7A2E
secondary
#AA5AAA
accent
#53D5D5
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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