#2E792A#2E792A

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

Color values

HEX#2E792A
RGBrgb(46, 121, 42)
HSLhsl(117, 48%, 32%)
HSVhsv(117, 65%, 47%)
CMYKcmyk(62%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.83, -39.65, 35.57)
CIE-LCHlch(44.83, 53.27, 138.11°)
OKLaboklab(51.12% -0.1079 0.0829)
OKLCHoklch(51.12% 0.136 142.5)
XYZxyz(8.3816, 14.4220, 4.5321)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E792A #752A79
analogous
#56792A #2E792A #2A794E
triadic
#2E792A #2A2E79 #792A2E
tetradic
#2E792A #2A5679 #752A79 #794E2A
square
#2E792A #2A5679 #752A79 #794E2A
split-complementary
#2E792A #4E2A79 #792A56
monochromatic
#0B1E0A #1D4C1A #2E792A #3FA63A #5EC558

Accessibility & contrast

On white

5.41
#2E792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2E792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E792A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E792A#FFFFFF#000000##FFFFFF
##2E792A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e792a;
/* rgb */ color: rgb(46, 121, 42);
/* oklch */ color: oklch(51.1% 0.136 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a067',
    500: '#2e792a',
    950: '#000000',
  },
}
SCSS
$custom: #2e792a;
$custom-light: #70a067;
$custom-dark: #000000;
JSON
{
  "hex": "#2e792a",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 116.962,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.1361,
    "h": 142.5
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#2E792A
secondary
#A654AB
accent
#50D8D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E792A

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

Preview Lab → · Contrast checker → · Palette generator →

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