#2E792C#2E792C

#2E792C is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.134 H 142.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2E792C
RGBrgb(46, 121, 44)
HSLhsl(118, 47%, 32%)
HSVhsv(118, 64%, 47%)
CMYKcmyk(62%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.85, -39.42, 34.64)
CIE-LCHlch(44.85, 52.47, 138.70°)
OKLaboklab(51.14% -0.1072 0.0811)
OKLCHoklch(51.14% 0.134 142.9)
XYZxyz(8.4182, 14.4367, 4.7253)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E792C #772C79
analogous
#54792C #2E792C #2C7951
triadic
#2E792C #2C2E79 #792C2E
tetradic
#2E792C #2C5479 #772C79 #79512C
square
#2E792C #2C5479 #772C79 #79512C
split-complementary
#2E792C #512C79 #792C54
monochromatic
#0C1F0B #1D4C1C #2E792C #3FA63C #5EC45C

Accessibility & contrast

On white

5.40
#2E792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2E792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E792C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E792C#FFFFFF#000000##FFFFFF
##2E792C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E23
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e792c;
/* rgb */ color: rgb(46, 121, 44);
/* oklch */ color: oklch(51.1% 0.134 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a068',
    500: '#2e792c',
    950: '#000000',
  },
}
SCSS
$custom: #2e792c;
$custom-light: #70a068;
$custom-dark: #000000;
JSON
{
  "hex": "#2e792c",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 118.442,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.13442,
    "h": 142.9
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#2E792C
secondary
#A857AA
accent
#51D6D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E792C

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

Preview Lab → · Contrast checker → · Palette generator →

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