#2E7C2A#2E7C2A

#2E7C2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.140 H 142.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E7C2A
RGBrgb(46, 124, 42)
HSLhsl(117, 49%, 33%)
HSVhsv(117, 66%, 49%)
CMYKcmyk(62.9%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.86, -40.84, 36.71)
CIE-LCHlch(45.86, 54.91, 138.05°)
OKLaboklab(51.97% -0.1111 0.0853)
OKLCHoklch(51.97% 0.14 142.5)
XYZxyz(8.7518, 15.1625, 4.6555)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C2A #782A7C
analogous
#577C2A #2E7C2A #2A7C4F
triadic
#2E7C2A #2A2E7C #7C2A2E
tetradic
#2E7C2A #2A577C #782A7C #7C4F2A
square
#2E7C2A #2A577C #782A7C #7C4F2A
split-complementary
#2E7C2A #4F2A7C #7C2A57
monochromatic
#0C210B #1D4E1B #2E7C2A #3FAA39 #5FC759

Accessibility & contrast

On white

5.21
#2E7C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E7C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C2A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C2A#FFFFFF#000000##FFFFFF
##2E7C2A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#20786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7c2a;
/* rgb */ color: rgb(46, 124, 42);
/* oklch */ color: oklch(52.0% 0.140 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a367',
    500: '#2e7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c2a;
$custom-light: #70a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c2a",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 117.073,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.14011,
    "h": 142.5
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#2E7C2A
secondary
#A855AD
accent
#4FD9D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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